fix format error

bug/bundler_fix
Brent Cook 2015-05-05 15:27:06 -05:00
parent f42334414a
commit 710a2a007b
1 changed files with 2 additions and 1 deletions

View File

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