We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 57afb4f commit 63c63b1Copy full SHA for 63c63b1
lib/overcommit/hook/pre_commit/coffee_lint.rb
@@ -23,6 +23,7 @@ def run
23
24
def parse_messages(output)
25
output.scan(MESSAGE_REGEX).map do |file, line, type, msg|
26
+ line = line.to_i
27
type = MESSAGE_TYPE_CATEGORIZER.call(type)
28
text = "#{file}:#{line}:#{type} #{msg}"
29
Overcommit::Hook::Message.new(type, file, line, text)
0 commit comments