Update main/src/main/scala/sbt/internal/server/BuildServerProtocol.scala

Change from review

Co-authored-by: Adrien Piquerez <adrien.piquerez@gmail.com>
This commit is contained in:
Erlend Hamnaberg 2020-11-28 18:39:36 +01:00
parent 341e09a07e
commit a554976ffb
1 changed files with 5 additions and 1 deletions

View File

@ -84,7 +84,11 @@ object BuildServerProtocol {
sbtVersion.value,
(ThisBuild / baseDirectory).value
)
} else ()
} else {
val logger = streams.value.log
logger.warn("BSP is disabled for this build")
logger.info("add 'Global / bspEnabled := true' to enable BSP")
}
},
bspEnabled := true,
bspWorkspace := bspWorkspaceSetting.value,