Default Verifier/Interactive result to 'Ok'
authorMarius Gavrilescu <marius@ieval.ro>
Fri, 10 Apr 2015 16:28:56 +0000 (19:28 +0300)
committerMarius Gavrilescu <marius@ieval.ro>
Fri, 10 Apr 2015 16:28:56 +0000 (19:28 +0300)
lib/Gruntmaster/Daemon/Runner/Interactive.pm
lib/Gruntmaster/Daemon/Runner/Verifier.pm

index f87e88c..af1581e 100644 (file)
@@ -50,7 +50,7 @@ sub run{
        unlink 'fifo1';
        unlink 'fifo2';
 
-       scalar slurp 'result'
+       scalar slurp 'result' or 'Ok'
 }
 
 1;
index 463fd71..55c2730 100644 (file)
@@ -23,7 +23,7 @@ sub run{
        } catch {
                die [WA, 'Wrong answer'] ## no critic (RequireCarping)
        };
-       scalar slurp 'result';
+       scalar slurp 'result' or 'Ok';
 }
 
 1;
This page took 0.028921 seconds and 4 git commands to generate.