From 596e956660bd21cc2f26313d7908c6e3ee95e007 Mon Sep 17 00:00:00 2001 From: Christian Mehlmauer Date: Fri, 16 Jan 2015 17:53:06 +0100 Subject: [PATCH] some changed --- tools/msftidy.rb | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tools/msftidy.rb b/tools/msftidy.rb index d996e7b9e9..18e3fabcd3 100755 --- a/tools/msftidy.rb +++ b/tools/msftidy.rb @@ -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