Skip to content

Commit a81d753

Browse files
committed
Don't emit extra newlines with format
1 parent 7e72d52 commit a81d753

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

bin/Main.purs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,9 @@ main = launchAff_ do
181181
Console.error $ printParseError err
182182
liftEffect $ Process.exit 1
183183
Right str ->
184-
Console.log str
184+
makeAff \k -> do
185+
_ <- Stream.writeString Process.stdout UTF8 str (k (Right unit))
186+
pure mempty
185187

186188
readOperatorTable :: FilePath -> Aff (Array String)
187189
readOperatorTable path

0 commit comments

Comments
 (0)