mirror of
https://github.com/ThrowTheSwitch/Unity.git
synced 2026-01-23 08:25: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)
|
def load_configuration(config_file)
|
||||||
$cfg_file = config_file
|
$cfg_file = config_file
|
||||||
$cfg = YAML.safe_load(File.read($cfg_file))
|
$cfg = YAML.load(File.read($cfg_file))
|
||||||
end
|
end
|
||||||
|
|
||||||
def configure_clean
|
def configure_clean
|
||||||
@@ -139,8 +139,8 @@ module RakefileHelpers
|
|||||||
report command_string
|
report command_string
|
||||||
output = `#{command_string}`.chomp
|
output = `#{command_string}`.chomp
|
||||||
report(output) if verbose && !output.nil? && !output.empty?
|
report(output) if verbose && !output.nil? && !output.empty?
|
||||||
if ($CHILD_STATUS.exitstatus != 0) && raise_on_fail
|
if ($?.exitstatus != 0) && raise_on_fail
|
||||||
raise "Command failed. (Returned #{$CHILD_STATUS.exitstatus})"
|
raise "Command failed. (Returned #{$?.exitstatus})"
|
||||||
end
|
end
|
||||||
output
|
output
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user