Reimplement PR 227 with fixed tests.

This commit is contained in:
Mark VanderVoord
2019-07-06 12:11:56 -04:00
parent 99c2223a1d
commit 5eab75a078
4 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -151,7 +151,7 @@ module RakefileHelpers
report command_string
output = `#{command_string}`.chomp
report(output) if (verbose && !output.nil? && (output.length > 0))
unless $?.exitstatus.zero? || ok_to_fail
unless (!$?.nil? && $?.exitstatus.zero?) || ok_to_fail
raise "Command failed. (Returned #{$?.exitstatus})"
end
return output