mirror of
https://github.com/sbt/sbt.git
synced 2026-09-04 00:41:32 +02:00
fix typo
This commit is contained in:
@@ -145,7 +145,7 @@ object BasicKeys {
|
||||
)
|
||||
private[sbt] val detachStdio = AttributeKey[Boolean](
|
||||
"detach-stdio",
|
||||
"Toggles wheter or not to close system in, out and error when the server starts.",
|
||||
"Toggles whether or not to close system in, out and error when the server starts.",
|
||||
1000
|
||||
)
|
||||
}
|
||||
|
||||
@@ -188,7 +188,7 @@ private[sbt] object Server {
|
||||
IO.write(tokenfile, CompactPrinter(jsonToken), IO.utf8, true)
|
||||
}
|
||||
|
||||
/** Set the persmission of the file such that the only the owner can read/write it. */
|
||||
/** Set the permission of the file such that the only the owner can read/write it. */
|
||||
private[this] def ownerOnly(file: File): Unit = {
|
||||
def acl(owner: UserPrincipal) = {
|
||||
val builder = AclEntry.newBuilder
|
||||
|
||||
@@ -31,7 +31,7 @@ object ServerHandler {
|
||||
lazy val fallback: ServerHandler = ServerHandler({ handler =>
|
||||
ServerIntent(
|
||||
onRequest = { case x => handler.log.debug(s"Unhandled request received: ${x.method}: $x") },
|
||||
onResponse = { case x => handler.log.debug(s"Unhandled responce received") },
|
||||
onResponse = { case x => handler.log.debug(s"Unhandled response received") },
|
||||
onNotification = {
|
||||
case x => handler.log.debug(s"Unhandled notification received: ${x.method}: $x")
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user