From 837911b376705e31b1affbe5679f92e072d2601e Mon Sep 17 00:00:00 2001 From: Marius Gavrilescu Date: Tue, 3 Feb 2015 20:51:54 +0200 Subject: [PATCH] Prevent extraneous empty lines in compiler output --- lib/Gruntmaster/Daemon/Format.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Gruntmaster/Daemon/Format.pm b/lib/Gruntmaster/Daemon/Format.pm index 41bfc0c..cca52ed 100644 --- a/lib/Gruntmaster/Daemon/Format.pm +++ b/lib/Gruntmaster/Daemon/Format.pm @@ -96,7 +96,7 @@ sub prepare{ die "Compile error\n" } finally { $Gruntmaster::Daemon::errors .= read_file 'errors'; - $Gruntmaster::Daemon::errors .= "\n"; + $Gruntmaster::Daemon::errors .= "\n" if -s 'errors'; unlink 'errors'; }; } -- 2.39.2