Prevent extraneous empty lines in compiler output
[gruntmaster-daemon.git] / lib / Gruntmaster / Daemon / Format.pm
index 41bfc0c..cca52ed 100644 (file)
@@ -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';
        };
 }
This page took 0.010044 seconds and 4 git commands to generate.