lib/spoom/cli/helper.rb in spoom-1.1.12 vs lib/spoom/cli/helper.rb in spoom-1.1.13

- old
+ new

@@ -31,11 +31,11 @@ # The message is prefixed by a status (default: `Error`). sig do params( message: String, status: T.nilable(String), - nl: T::Boolean + nl: T::Boolean, ).void end def say_error(message, status: "Error", nl: true) buffer = StringIO.new buffer << "#{red(status)}: " if status @@ -59,10 +59,10 @@ def in_sorbet_project! unless in_sorbet_project? say_error( "not in a Sorbet project (`#{sorbet_config_file}` not found)\n\n" \ "When running spoom from another path than the project's root, " \ - "use `--path PATH` to specify the path to the root." + "use `--path PATH` to specify the path to the root.", ) Kernel.exit(1) end end