This commit is contained in:
xuwei-k
2023-06-24 20:05:52 +09:00
parent 48062ff36c
commit 2edb4dcbb6
17 changed files with 21 additions and 21 deletions
@@ -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")
},