lib/phase/util/shell.rb in phase-1.0.0.rc1 vs lib/phase/util/shell.rb in phase-1.0.0.rc2
- old
+ new
@@ -3,10 +3,10 @@
module Shell
include Console
def shell(*args)
options = args.extract_options!
- options.reverse_merge({
+ options.reverse_merge!({
allow_failure: false
})
log "running: #{args.join(' ')}"
succeeded = !!system(*args) || options[:allow_failure]