Add missing set check

This commit is contained in:
Wroclaw 2024-02-21 17:58:58 +01:00
parent b7ff0eaea5
commit a34b52e1d0
3 changed files with 3 additions and 1 deletions

1
dist/index.js vendored
View file

@ -129058,6 +129058,7 @@ async function main() {
if (presentMessages.length !== messageBlocks.length) {
core.info("number of message blocks is different, sending messages");
core.debug(`read "blocks": ${messageBlocks.length}, number of read messages: ${presentMessages.length}`);
shouldPostMessages = true;
}
if (!shouldPostMessages)
for (let i = 0; i < messageBlocks.length; i++) {

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

View file

@ -49,6 +49,7 @@ async function main() {
if (presentMessages.length !== messageBlocks.length) {
core.info("number of message blocks is different, sending messages");
core.debug(`read "blocks": ${messageBlocks.length}, number of read messages: ${presentMessages.length}`);
shouldPostMessages = true;
}
if (!shouldPostMessages) for (let i = 0; i < messageBlocks.length; i++) {
// FIXME: discord may strip special unicode characters, making strings different