mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 01:16:38 -06:00
linkify resources in danger report
This commit is contained in:
parent
467c529920
commit
b0240190ac
@ -5,7 +5,7 @@ end
|
|||||||
prettier_offenses = `prettier --list-different "app/assets/stylesheets/**/*.scss" "app/assets/javascripts/**/*.es6" "test/javascripts/**/*.es6"`.split('\n')
|
prettier_offenses = `prettier --list-different "app/assets/stylesheets/**/*.scss" "app/assets/javascripts/**/*.es6" "test/javascripts/**/*.es6"`.split('\n')
|
||||||
if !prettier_offenses.empty?
|
if !prettier_offenses.empty?
|
||||||
fail(%{
|
fail(%{
|
||||||
This PR has multiple prettier offenses. We recommend configuring prettier linting in your editor: https://meta.discourse.org/t/prettier-code-formatting-tool/93212\n
|
This PR has multiple prettier offenses. <a href='https://meta.discourse.org/t/prettier-code-formatting-tool/93212'>Using prettier</a>\n
|
||||||
#{prettier_offenses.join("\n")}
|
#{prettier_offenses.map {|o| github.html_link(o) }.join("\n")}
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user