diff options
author | Tristan Sloughter <t@crashfast.com> | 2015-02-23 08:40:17 -0600 |
---|---|---|
committer | Tristan Sloughter <t@crashfast.com> | 2015-02-23 08:40:17 -0600 |
commit | 0c402a8293a888284bc9e3631c671540a7702711 (patch) | |
tree | d5822250da040d18a9348668cdef19612be0c7ee /src/rebar_utils.erl | |
parent | 4153b3c7e599f553f6aaff5b4eddf5857814f1a8 (diff) |
output hook stdout and don't add extra newline
Diffstat (limited to 'src/rebar_utils.erl')
-rw-r--r-- | src/rebar_utils.erl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rebar_utils.erl b/src/rebar_utils.erl index b3ae9ff..ab5167f 100644 --- a/src/rebar_utils.erl +++ b/src/rebar_utils.erl @@ -314,7 +314,8 @@ expand_sh_flag(debug_and_abort_on_error) -> expand_sh_flag(use_stdout) -> {output_handler, fun(Line, Acc) -> - ?CONSOLE("~s", [Line]), + %% Line already has a newline so don't use ?CONSOLE which adds one + io:format("~s", [Line]), [Line | Acc] end}; expand_sh_flag({use_stdout, false}) -> |