diff --git a/tools/dev/pre-commit-hook.rb b/tools/dev/pre-commit-hook.rb index 514cc75c26..61ea2bc2c8 100755 --- a/tools/dev/pre-commit-hook.rb +++ b/tools/dev/pre-commit-hook.rb @@ -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|