]> iEval git - gruntmaster-daemon.git/commitdiff
Normalize outputs correctly in Runner::File
authorMarius Gavrilescu <marius@ieval.ro>
Wed, 26 Mar 2014 20:21:03 +0000 (22:21 +0200)
committerMarius Gavrilescu <marius@ieval.ro>
Wed, 26 Mar 2014 20:21:03 +0000 (22:21 +0200)
lib/Gruntmaster/Daemon/Runner/File.pm

index bfa9a05aee774bdc798f71d1664499fa284c67fd..9193861378142c22b2e809ed22e2054b87db344f 100644 (file)
@@ -27,8 +27,8 @@ sub run{
 
        $out =~ s/^\s+//;
        $ok  =~ s/^\s+//;
-       $out =~ s/\s+/ /;
-       $ok  =~ s/\s+/ /;
+       $out =~ s/\s+/ /g;
+       $ok  =~ s/\s+/ /g;
        $out =~ s/\s+$//;
        $ok  =~ s/\s+$//;
 
This page took 0.023121 seconds and 4 git commands to generate.