Skip to content

Commit

Permalink
Log out success message with newlines
Browse files Browse the repository at this point in the history
The raw log file is split into lines to check for errors.
However the logged message should contain newlines for easier reading.
  • Loading branch information
Juliusan committed Jan 29, 2018
1 parent 66c175d commit 2276f85
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions THANKS
Original file line number Diff line number Diff line change
Expand Up @@ -150,3 +150,4 @@ John Daily
Yury Gargay
Frank Hunleth
Matwey Kornilov
Julius Andrikonis
2 changes: 1 addition & 1 deletion src/rebar_ct.erl
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ check_log(Config,RawLogFilename,Fun) ->
?FAIL;

true ->
Fun(Msg)
Fun(string:join(Msg, "\n"))
end.


Expand Down

0 comments on commit 2276f85

Please sign in to comment.