diff options
Diffstat (limited to 'lib/main.ex')
| -rw-r--r-- | lib/main.ex | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/main.ex b/lib/main.ex index 5e7cf55..db63070 100644 --- a/lib/main.ex +++ b/lib/main.ex @@ -27,8 +27,6 @@ defmodule ElixirMathParser.Main do res = process_parse(:elixir_math_parser.parse(tokens)) - if res != :ok do - IO.puts(:stderr, "\n" <> res) - end + if res != :ok, do: IO.puts(:stderr, "\n" <> res) end end |
