summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuis Rascão <luis.rascao@gmail.com>2018-01-29 09:47:54 +0000
committerGitHub <noreply@github.com>2018-01-29 09:47:54 +0000
commit4bd43fefecdb6241bcb21b1b42428c8c4abc5e40 (patch)
treee9f240cd777674750ca453c955d03d9a5128b678
parent66c175d8e1bf724b6aac15da60b5e6b79e43e66d (diff)
parent2276f85150d6274961fd007ce688f71591a47ada (diff)
downloadrebar-4bd43fefecdb6241bcb21b1b42428c8c4abc5e40.tar.gz
Merge pull request #645 from Juliusan/log_fix
Log out success message with newlines
-rw-r--r--THANKS1
-rw-r--r--src/rebar_ct.erl2
2 files changed, 2 insertions, 1 deletions
diff --git a/THANKS b/THANKS
index ab7935c..943ad94 100644
--- a/THANKS
+++ b/THANKS
@@ -150,3 +150,4 @@ John Daily
Yury Gargay
Frank Hunleth
Matwey Kornilov
+Julius Andrikonis
diff --git a/src/rebar_ct.erl b/src/rebar_ct.erl
index b27f661..c033c58 100644
--- a/src/rebar_ct.erl
+++ b/src/rebar_ct.erl
@@ -193,7 +193,7 @@ check_log(Config,RawLogFilename,Fun) ->
?FAIL;
true ->
- Fun(Msg)
+ Fun(string:join(Msg, "\n"))
end.