提交 3a6cca39 编写于 作者: M Mark VanderVoord

Fixed things that the stylizer “autocorrected” to wrong. ;)

上级 3062c397
......@@ -9,7 +9,7 @@ module RakefileHelpers
def load_configuration(config_file)
$cfg_file = config_file
$cfg = YAML.safe_load(File.read($cfg_file))
$cfg = YAML.load(File.read($cfg_file))
end
def configure_clean
......@@ -139,8 +139,8 @@ module RakefileHelpers
report command_string
output = `#{command_string}`.chomp
report(output) if verbose && !output.nil? && !output.empty?
if ($CHILD_STATUS.exitstatus != 0) && raise_on_fail
raise "Command failed. (Returned #{$CHILD_STATUS.exitstatus})"
if ($?.exitstatus != 0) && raise_on_fail
raise "Command failed. (Returned #{$?.exitstatus})"
end
output
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册