lib/eco-rake/lib/files/sftp.rb in eco-rake-0.2.3 vs lib/eco-rake/lib/files/sftp.rb in eco-rake-0.2.4
- old
+ new
@@ -28,10 +28,10 @@
# attr_const :target_enviro, required: true
# option_reopen :enviro, default_lookup: :target_enviro
def task(*_args)
- sh sftp_command
+ sh_exit_on_fail sftp_command
end
private
def sftp_command