Skip to content

Commit bf2c390

Browse files
author
Tod Beardsley
committed
Land fix for rapid7#3712 typo
2 parents 1f35c0f + c045c96 commit bf2c390

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/msftidy.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,7 @@ def is_exploit_module?
358358
# this could be done in a simpler way, but this let's us add more later
359359
msf_exploit_line_no = nil
360360
@lines.each_with_index do |line, idx|
361-
if line = REGEX_MSF_EXPLOIT
361+
if line =~ REGEX_MSF_EXPLOIT
362362
# note the line number
363363
msf_exploit_line_no = idx
364364
elsif msf_exploit_line_no

0 commit comments

Comments
 (0)