Skip to content

Commit 7cd2014

Browse files
committed
count errors
1 parent 52fa4ac commit 7cd2014

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Dangerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,8 @@ else
159159
next
160160
end
161161

162+
errors_count += 1
163+
162164
parsed = line.match(/[A-Z]: (?<line>\d+), [^:]+: (?<msg>.*)/)
163165
msg = parsed['msg'].sub(/ \(\w+\)$/, '')
164166
lineno = parsed['line']

0 commit comments

Comments
 (0)