Fix typo in PR #3712

Fixes the typo pointed out in
rapid7#3712#discussion_r16750554

Derp
bug/bundler_fix
Tod Beardsley 2014-08-26 20:36:28 -05:00
parent 1f35c0ff1c
commit c045c9606c
No known key found for this signature in database
GPG Key ID: 1EFFB682ADB9F193
1 changed files with 1 additions and 1 deletions

View File

@ -358,7 +358,7 @@ class Msftidy
# this could be done in a simpler way, but this let's us add more later # this could be done in a simpler way, but this let's us add more later
msf_exploit_line_no = nil msf_exploit_line_no = nil
@lines.each_with_index do |line, idx| @lines.each_with_index do |line, idx|
if line = REGEX_MSF_EXPLOIT if line =~ REGEX_MSF_EXPLOIT
# note the line number # note the line number
msf_exploit_line_no = idx msf_exploit_line_no = idx
elsif msf_exploit_line_no elsif msf_exploit_line_no