Skip to content

Commit 5492488

Browse files
committed
Dangerfile: improve bootlint error message.
No functional changes.
1 parent b3bd338 commit 5492488

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dangerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ if File.file?(bootlint_output)
237237
file = parsed['file']
238238
code = parsed['code']
239239
file = github.html_link("#{file}#L#{lineno}")
240-
fail("bootlint error in #{file}:\n#{code}: #{msg}. ([Details](https://github.com/twbs/bootlint/wiki/#{code}))")
240+
fail("bootlint error in #{file}:\n[#{code}](https://github.com/twbs/bootlint/wiki/#{code}): #{msg}")
241241
end
242242
# TODO: add link to wiki page (#316)
243243
print_errors_summary 'bootlint', errors_count

0 commit comments

Comments
 (0)