Fix indent per @jlee-r7'e eagle eye

bug/bundler_fix
Tod Beardsley 2014-06-20 11:52:47 -05:00
parent 5d6b582adc
commit 2626450c38
No known key found for this signature in database
GPG Key ID: 1EFFB682ADB9F193
1 changed files with 5 additions and 5 deletions

View File

@ -420,11 +420,11 @@ class Console::CommandDispatcher::Core
msf_path = MeterpreterBinaries.metasploit_data_dir msf_path = MeterpreterBinaries.metasploit_data_dir
gem_path = MeterpreterBinaries.local_dir gem_path = MeterpreterBinaries.local_dir
[msf_path, gem_path].each do |path| [msf_path, gem_path].each do |path|
::Dir.entries(path).each { |f| ::Dir.entries(path).each { |f|
if (::File.file?(::File.join(path, f)) && f =~ /ext_server_(.*)\.#{client.binary_suffix}/ ) if (::File.file?(::File.join(path, f)) && f =~ /ext_server_(.*)\.#{client.binary_suffix}/ )
exts.push($1) unless exts.include?($1) exts.push($1) unless exts.include?($1)
end end
} }
end end
print(exts.sort.join("\n") + "\n") print(exts.sort.join("\n") + "\n")