Oh. The irony.
This commit is contained in:
@@ -26,7 +26,7 @@ class CheckerSpelling < Plugin
|
|||||||
begin
|
begin
|
||||||
file.read.scan(/#{misspelling}/).each do |match|
|
file.read.scan(/#{misspelling}/).each do |match|
|
||||||
mistakes += 1
|
mistakes += 1
|
||||||
puts "[MISSSPELLING] File: #{file_name} Bad: #{match} Good: #{misspellings[misspelling]}"
|
puts "[MISSPELLING] File: #{file_name} Bad: #{match} Good: #{misspellings[misspelling]}"
|
||||||
end
|
end
|
||||||
rescue => e
|
rescue => e
|
||||||
puts "Error in #{file_name} #{e}"
|
puts "Error in #{file_name} #{e}"
|
||||||
|
|||||||
Reference in New Issue
Block a user