lib/eco-rake/lib/files/sftp.rb in eco-rake-0.1.5 vs lib/eco-rake/lib/files/sftp.rb in eco-rake-0.1.6

- old
+ new

@@ -37,10 +37,10 @@ def sftp_command cmd = [base_command] cmd << forward_option(:folder) cmd << forward_options(:list, :get_last, :get, :archive).compact.first || '-list' - cmd.push(*forward_options(:remote_subfolder, :file_pattern).compact) + cmd.push(*forward_options(:remote_subfolder, :file_pattern)) cmd << '-no-people' cmd = yield(cmd) if block_given? string_cmd(*cmd) end