Land #6052, update msftidy path

bug/bundler_fix
Brent Cook 2015-10-07 16:52:32 -05:00
commit 421ed382ab
No known key found for this signature in database
GPG Key ID: 1FFAA0B24B708F96
1 changed files with 2 additions and 2 deletions

View File

@ -59,9 +59,9 @@ end
if files_to_check.empty?
puts "--- No Metasploit modules to check ---"
else
puts "--- Checking new and changed module syntax with tools/msftidy.rb ---"
puts "--- Checking new and changed module syntax with tools/modules/msftidy.rb ---"
files_to_check.each do |fname|
cmd = "ruby ./tools/msftidy.rb #{fname}"
cmd = "ruby ./tools/modules/msftidy.rb #{fname}"
msftidy_output= %x[ #{cmd} ]
puts "#{fname} - msftidy check passed" if msftidy_output.empty?
msftidy_output.each_line do |line|