Skip to content

Commit 61619c4

Browse files
committed
Revert "test message to file again"
This reverts commit 88c8f9e. [ci skip]
1 parent bd9a632 commit 61619c4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Dangerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,9 @@ else
4242
errors_count += 1
4343
line = node['line']
4444
msg = node['message'].sub(/\.$/, '')
45-
filename = node.parent['name'].sub(pwd, '')
46-
file = github.html_link("#{filename}#L#{line}")
47-
fail("CheckStyle error in #{file}: #{msg}", file: filename, line: line)
45+
file = node.parent['name'].sub(pwd, '')
46+
file = github.html_link("#{file}#L#{line}")
47+
fail("CheckStyle error in #{file}: #{msg}")
4848
end
4949
print_errors_summary 'CheckStyle', errors_count, 'https://github.com/php-coder/mystamps/wiki/checkstyle'
5050
end

0 commit comments

Comments
 (0)