mirror of
https://github.com/rapid7/metasploit-framework
synced 2024-11-05 14:57:30 +01:00
Fix typo in PR #3712
Fixes the typo pointed out in rapid7#3712#discussion_r16750554 Derp
This commit is contained in:
parent
1f35c0ff1c
commit
c045c9606c
@ -358,7 +358,7 @@ class Msftidy
|
||||
# this could be done in a simpler way, but this let's us add more later
|
||||
msf_exploit_line_no = nil
|
||||
@lines.each_with_index do |line, idx|
|
||||
if line = REGEX_MSF_EXPLOIT
|
||||
if line =~ REGEX_MSF_EXPLOIT
|
||||
# note the line number
|
||||
msf_exploit_line_no = idx
|
||||
elsif msf_exploit_line_no
|
||||
|
Loading…
Reference in New Issue
Block a user