lib/nanoc3/extra/deployers/rsync.rb in nanoc3-3.1.9 vs lib/nanoc3/extra/deployers/rsync.rb in nanoc3-3.2.0a1

- old
+ new

@@ -61,14 +61,14 @@ end # Runs the task. Possible params: # # @option params [Boolean] :dry_run (false) True if the action itself - # should not be executed, but still printed; false otherwise. + # should not be executed, but still printed; false otherwise. # # @option params [String] :config_name (:default) The name of the - # deployment configuration to use. + # deployment configuration to use. # # @return [void] def run(params={}) # Extract params config_name = params.has_key?(:config_name) ? params[:config_name].to_sym : :default @@ -104,10 +104,9 @@ end # Runs the given shell command. This is a simple wrapper around Kernel#system. def run_shell_cmd(args) system(*args) - raise "command exited with a nonzero status code #{$?.exitstatus} (command: #{args.join(' ')})" if !$?.success? end end end