File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed
Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -342,10 +342,6 @@ parseUserArgs model compilerPath =
342342 |> Stream.Log.string model.stderr
343343 |> Task.map (\_ -> Task.execute <| Node.exitWithCode 1)
344344
345- endWithErrorLine stringErr =
346- Stream.Log.line model.stderr stringErr
347- |> Task.map (\_ -> Task.execute <| Node.exitWithCode 1)
348-
349345 endWithErrorString stringErr =
350346 Stream.Log.string model.stderr stringErr
351347 |> Task.map (\_ -> Task.execute <| Node.exitWithCode 1)
@@ -356,7 +352,7 @@ parseUserArgs model compilerPath =
356352 in
357353 when CLI.Parser.run model.args CliParser.parser is
358354 CLI.Parser.UnknownCommand commandName ->
359- endWithErrorLine ("I don't recognize this command: " ++ commandName)
355+ endWithErrorString ("I don't recognize this command: " ++ commandName ++ "\n" )
360356 |> Task.perform RunCmd
361357
362358 CLI.Parser.BadFlags err ->
You can’t perform that action at this time.
0 commit comments