Land #6193, move msftidy to correct location

bug/bundler_fix
Louis Sato 2015-11-05 15:42:16 -06:00
commit 5143da14f7
No known key found for this signature in database
GPG Key ID: 501290E4CECB7DF4
2 changed files with 2 additions and 2 deletions

View File

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