Skip to content

Commit 421ed38

Browse files
author
Brent Cook
committed
Land rapid7#6052, update msftidy path
2 parents d26a299 + 9d51abe commit 421ed38

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/dev/pre-commit-hook.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,9 @@ def merge_error_message
5959
if files_to_check.empty?
6060
puts "--- No Metasploit modules to check ---"
6161
else
62-
puts "--- Checking new and changed module syntax with tools/msftidy.rb ---"
62+
puts "--- Checking new and changed module syntax with tools/modules/msftidy.rb ---"
6363
files_to_check.each do |fname|
64-
cmd = "ruby ./tools/msftidy.rb #{fname}"
64+
cmd = "ruby ./tools/modules/msftidy.rb #{fname}"
6565
msftidy_output= %x[ #{cmd} ]
6666
puts "#{fname} - msftidy check passed" if msftidy_output.empty?
6767
msftidy_output.each_line do |line|

0 commit comments

Comments
 (0)