Land #6052, update msftidy path
commit
421ed382ab
|
@ -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|
|
||||
|
|
Loading…
Reference in New Issue