diff options
Diffstat (limited to 'cli')
-rwxr-xr-x | cli/source/core/scala/com/rockymadden/stringmetric/cli/Command.scala | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/cli/source/core/scala/com/rockymadden/stringmetric/cli/Command.scala b/cli/source/core/scala/com/rockymadden/stringmetric/cli/Command.scala index a7daf3c..fedc0d9 100755 --- a/cli/source/core/scala/com/rockymadden/stringmetric/cli/Command.scala +++ b/cli/source/core/scala/com/rockymadden/stringmetric/cli/Command.scala @@ -12,8 +12,7 @@ trait Command { def execute(options: OptionMap): Unit - final def exit(options: OptionMap): Unit = - if (!isUnitTest(options)) sys.exit(0) + final def exit(options: OptionMap): Unit = if (!isUnitTest(options)) sys.exit(0) final protected[this] def isDebug(options: OptionMap): Boolean = (options.contains('d) || (options.contains('debug) && options.get('debug) != "false")) @@ -22,4 +21,4 @@ trait Command { (options.contains('ut) || (options.contains('unitTest) && options.get('unitTest) != "false")) def main(args: Array[String]): Unit -}
\ No newline at end of file +} |