Skip to content

Commit bc8e95c

Browse files
committed
[#19] Add missing await
1 parent b4cf044 commit bc8e95c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

canary-publish/dist/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53401,7 +53401,7 @@ function main() {
5340153401
}
5340253402
catch (e) {
5340353403
core.error(e === null || e === void 0 ? void 0 : e.message);
53404-
issueFetchers.addComment(lang_1.LANGUAGES[language].error);
53404+
yield issueFetchers.addComment(lang_1.LANGUAGES[language].error);
5340553405
process.exit(1); // close with error
5340653406
}
5340753407
});

canary-publish/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ async function main() {
164164
core.setOutput('message', message)
165165
} catch (e) {
166166
core.error((e as Error)?.message)
167-
issueFetchers.addComment(LANGUAGES[language].error)
167+
await issueFetchers.addComment(LANGUAGES[language].error)
168168
process.exit(1) // close with error
169169
}
170170
}

0 commit comments

Comments
 (0)