mirror of
https://github.com/ThrowTheSwitch/Unity.git
synced 2026-01-23 00:15:58 +01:00
Fixed things that the stylizer “autocorrected” to wrong. ;)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user