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
1 changed files with 5 additions and 5 deletions

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