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 4892ba1 commit ee60f3fCopy full SHA for ee60f3f
Dangerfile
@@ -194,7 +194,7 @@ if File.file?(sortpom_output)
194
unless errors.empty?
195
link = 'https://github.com/php-coder/mystamps/wiki/sortpom'
196
errors_cnt = errors.size()
197
- error_msgs = errors.join("</li>\n<li>")
+ error_msgs = errors.map { |msg| msg.sub(pwd, '') }.join("</li>\n<li>")
198
if errors_cnt == 1
199
fail("sortpom-maven-plugin reported about #{errors_cnt} error:\n"\
200
"<ul><li>#{error_msgs}</li></ul>\n"\
0 commit comments