Skip to content

Commit 3df3e8b

Browse files
committed
Can't directly link to artifacts
Also removes console.log Just unreadable for large messages.
1 parent 4492c4b commit 3df3e8b

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

dangerfile.js

+2-4
Original file line numberDiff line numberDiff line change
@@ -267,13 +267,11 @@ ${significantResults.join('\n')}
267267
`;
268268

269269
if (message.length > 65535) {
270-
// Also logging for quick inspection.
271-
console.log(message);
272-
// But harder to find so also persisting as an artifact
270+
// Make message available as an artifact
273271
writeFileSync('sizebot-message.md', message);
274272
markdown(
275273
'The size diff is too large to display in a single comment. ' +
276-
`The [CircleCI artifacts for this job](${process.env.CIRCLE_BUILD_URL}/artifacts) contains a file called 'sizebot-message.md' with the full message.`
274+
`The [CircleCI job](${process.env.CIRCLE_BUILD_URL}) contains an artifact called 'sizebot-message.md' with the full message.`
277275
);
278276
} else {
279277
markdown(message);

0 commit comments

Comments
 (0)