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 4492c4b commit 3df3e8bCopy full SHA for 3df3e8b
dangerfile.js
@@ -267,13 +267,11 @@ ${significantResults.join('\n')}
267
`;
268
269
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
+ // Make message available as an artifact
273
writeFileSync('sizebot-message.md', message);
274
markdown(
275
'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.`
+ `The [CircleCI job](${process.env.CIRCLE_BUILD_URL}) contains an artifact called 'sizebot-message.md' with the full message.`
277
);
278
} else {
279
markdown(message);
0 commit comments