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 bfa9a05..9193861 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.011186 seconds and 4 git commands to generate.