diff --git a/CHANGELOG.md b/CHANGELOG.md index 9f2e2c6..1525707 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,12 @@ 🛠 refactor --> +## v3.3.3 + +`2022.11.13` + +- 🐞 fix: body null case. [#129](https://github.com/actions-cool/issues-helper/pull/129) [@madmansn0w](https://github.com/madmansn0w) + ## v3.3.2 `2022.10.21` diff --git a/dist/index.js b/dist/index.js index 5af1b2a..54ec15b 100644 --- a/dist/index.js +++ b/dist/index.js @@ -17435,7 +17435,7 @@ const dealRandomAssignees = (assignees, randomTo) => { }; exports.dealRandomAssignees = dealRandomAssignees; const matchKeyword = (content = '', keywords) => { - return !!keywords.find(item => content.toLowerCase().includes(item)); + return !!keywords.find(item => content === null || content === void 0 ? void 0 : content.toLowerCase().includes(item)); }; exports.matchKeyword = matchKeyword; const checkDuplicate = (body) => {