fixup some leftover debug and whitespace issues

bug/bundler_fix
Brent Cook 2016-09-15 18:38:47 -05:00
parent efdf7c4c00
commit 6686e91ffe
No known key found for this signature in database
GPG Key ID: 1FFAA0B24B708F96
3 changed files with 5 additions and 7 deletions

View File

@ -377,7 +377,6 @@ private
if stat.directory? if stat.directory?
client.fs.dir.download( dest, source, {"recursive" => true}, true ) { |step, src, dst| client.fs.dir.download( dest, source, {"recursive" => true}, true ) { |step, src, dst|
# client.fs.dir.download( dest, source, true, true ) { |step, src, dst|
print_line( "#{step.ljust(11)} : #{src} -> #{dst}" ) print_line( "#{step.ljust(11)} : #{src} -> #{dst}" )
client.framework.events.on_session_download( client, src, dest ) if msf_loaded? client.framework.events.on_session_download( client, src, dest ) if msf_loaded?
} }

View File

@ -408,7 +408,6 @@ class Console::CommandDispatcher::Stdapi::Fs
dest_path = src_path.tr(src_separator, ::File::SEPARATOR) dest_path = src_path.tr(src_separator, ::File::SEPARATOR)
client.fs.file.download(dest_path, src_path, opts) do |step, src, dst| client.fs.file.download(dest_path, src_path, opts) do |step, src, dst|
puts step
print_status("#{step.ljust(11)}: #{src} -> #{dst}") print_status("#{step.ljust(11)}: #{src} -> #{dst}")
client.framework.events.on_session_download(client, src, dest) if msf_loaded? client.framework.events.on_session_download(client, src, dest) if msf_loaded?
end end