Skip to content

Commit

Permalink
Restrict assert checks to .rb files.
Browse files Browse the repository at this point in the history
  • Loading branch information
jimweirich committed Dec 4, 2011
1 parent a3fcc39 commit a83000b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rakelib/checks.rake
Expand Up @@ -19,7 +19,7 @@ namespace "check" do
task :asserts do
puts "Checking for asserts missing the replacement text:"
begin
sh "egrep -n 'assert( |_)' src/about_* | egrep -v '__|_n_|project|about_assert' | egrep -v ' *#'"
sh "egrep -n 'assert( |_)' src/about_*.rb | egrep -v '__|_n_|project|about_assert' | egrep -v ' *#'"
puts
puts "Examine the above lines for missing __ replacements"
rescue RuntimeError => ex
Expand Down

0 comments on commit a83000b

Please sign in to comment.