We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7dce6e3 commit 88c8f9eCopy full SHA for 88c8f9e
Dangerfile
@@ -42,9 +42,9 @@ else
42
errors_count += 1
43
line = node['line']
44
msg = node['message'].sub(/\.$/, '')
45
- file = node.parent['name'].sub(pwd, '')
46
- file = github.html_link("#{file}#L#{line}")
47
- fail("CheckStyle error in #{file}: #{msg}")
+ filename = node.parent['name'].sub(pwd, '')
+ file = github.html_link("#{filename}#L#{line}")
+ fail("CheckStyle error in #{file}: #{msg}", file: filename, line: line)
48
end
49
print_errors_summary 'CheckStyle', errors_count, 'https://github.com/php-coder/mystamps/wiki/checkstyle'
50
0 commit comments