Skip to content

Commit 3798e44

Browse files
committed
skip Downloading messages
1 parent a953786 commit 3798e44

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

Dangerfile

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -221,14 +221,18 @@ else
221221
break
222222
end
223223

224+
if line.start_with? '[INFO] Download'
225+
next
226+
end
227+
224228
line.sub!('[WARNING] ', '')
225-
errors << line
229+
errors << line.rstrip
226230
end
227231

228232
unless errors.empty?
229-
error_msgs = errors.join()
233+
error_msgs = errors.join("\n")
230234
fail("maven-enforcer-plugin reported about errors. Please, fix them. "\
231-
"Here is its output:\n```\n#{error_msgs}```")
235+
"Here is its output:\n```\n#{error_msgs}\n```")
232236
end
233237
end
234238

0 commit comments

Comments
 (0)