lib/quality/runner.rb in quality-36.0.0 vs lib/quality/runner.rb in quality-36.1.0

- old
+ new

@@ -69,10 +69,10 @@ end end def count_existing_violations(filename) existing_violations = @count_io.read(filename).to_i - raise("Problem with file #{filename}") if existing_violations < 0 + raise("Problem with file #{filename}") if existing_violations.negative? existing_violations end def command_name(clazz, name)