bin/excellent in simplabs-excellent-1.0.0 vs bin/excellent in simplabs-excellent-1.0.1
- old
+ new
@@ -11,11 +11,10 @@
Dir.glob(arg).each { |file| excellent.check_file(file) }
end
puts "\nExcellent found #{excellent.errors.size} errors.\n"
excellent.errors.each do |error|
- relative_path = Pathname.new(error.filename).relative_path_from(Pathname.new(File.dirname(__FILE__)))
- puts " * File #{relative_path}, line #{error.line_number}: #{error.message}"
+ puts " * File #{error.filename}, line #{error.line_number}: #{error.message}"
end
puts ''
exit 0