1
mirror of https://github.com/rapid7/metasploit-framework synced 2024-10-29 18:07:27 +01:00

some changed

This commit is contained in:
Christian Mehlmauer 2015-01-16 17:53:06 +01:00
parent 3237dd8591
commit 596e956660
No known key found for this signature in database
GPG Key ID: BCFF4FA966BC32C7

View File

@ -595,9 +595,9 @@ class Msftidy
def check_invalid_url_scheme
test = @source.scan(/^#.+http\/\/metasploit.com/)
unless test.empty?
test.each { |item|
test.each do |item|
info("Invalid URL: #{item}")
}
end
end
end
@ -607,9 +607,9 @@ class Msftidy
def check_comma
test = @source.scan(/[^\n]+,(?:\s*#[^{][^\n]+)?\s*[\]\}]/)
unless test.empty?
test.each { |item|
info("Extra comma: #{item}")
}
test.each do |item|
info("Extraneous comma: #{item}")
end
end
end