bug/bundler_fix
Jon Hart 2015-12-04 12:38:25 -08:00
parent e7d2eb6ad9
commit c92365090f
No known key found for this signature in database
GPG Key ID: 2FA9F0A3AFA8E9D3
1 changed files with 1 additions and 1 deletions

View File

@ -88,7 +88,7 @@ class Metasploit3 < Msf::Post
def print_exclusions_table(product, exclusion_type, exclusions) def print_exclusions_table(product, exclusion_type, exclusions)
exclusions ||= [] exclusions ||= []
exclusions = exclusions.compact.reject { |e| e.blank? } exclusions = exclusions.compact.reject(&:blank?)
if exclusions.empty? if exclusions.empty?
print_status("No #{exclusion_type} exclusions for #{product}") print_status("No #{exclusion_type} exclusions for #{product}")
return return