Skip to content

Commit

Permalink
Codify limit
Browse files Browse the repository at this point in the history
  • Loading branch information
eps1lon committed Apr 15, 2024
1 parent b4c8d2f commit 6d064cb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dangerfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,8 @@ ${significantResults.join('\n')}
}
`;

if (message.length > 65535) {
// GitHub comments are limited to 65536 characters.
if (message.length > 65536) {
// Make message available as an artifact
writeFileSync('sizebot-message.md', message);
markdown(
Expand Down

0 comments on commit 6d064cb

Please sign in to comment.