From 9a06c01e9d31932cbe828885a94526adde48e3b3 Mon Sep 17 00:00:00 2001 From: Alexandre Archambault Date: Mon, 4 Jul 2022 13:44:20 +0200 Subject: [PATCH] NIT --- cli/src/main/scala/snailgun/Cli.scala | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cli/src/main/scala/snailgun/Cli.scala b/cli/src/main/scala/snailgun/Cli.scala index e5522a9..a3177e1 100644 --- a/cli/src/main/scala/snailgun/Cli.scala +++ b/cli/src/main/scala/snailgun/Cli.scala @@ -33,7 +33,6 @@ object Cli extends CaseApp[CliOptions] { .orElse(Defaults.env.get("NAILGUN_PORT").map(_.toInt)) .getOrElse(Defaults.Port) val client = TcpClient(hostServer, portServer) - val noCancel = new AtomicBoolean(false) val logger = new SnailgunLogger("log", out, isVerbose = options.verbose) val code = try @@ -44,7 +43,7 @@ object Cli extends CaseApp[CliOptions] { Defaults.env, streams, logger, - noCancel, + new AtomicBoolean(false), true ) catch {