Land #6193, move msftidy to correct location
commit
5143da14f7
|
@ -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|
|
||||||
|
|
Loading…
Reference in New Issue