From 2276f85150d6274961fd007ce688f71591a47ada Mon Sep 17 00:00:00 2001 From: Julius Andrikonis Date: Mon, 29 Jan 2018 11:15:02 +0200 Subject: Log out success message with newlines The raw log file is split into lines to check for errors. However the logged message should contain newlines for easier reading. --- THANKS | 1 + src/rebar_ct.erl | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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. -- cgit v1.2.1