fix: body null (#123)

* fix: body null

* docs: update changelog
This commit is contained in:
xrkffgg
2022-10-19 21:10:24 +08:00
committed by GitHub
parent 7f09991212
commit 1cb0eedfea
4 changed files with 9 additions and 3 deletions

2
dist/index.js vendored
View File

@@ -15973,7 +15973,7 @@ const dealRandomAssignees = (assignees, randomTo) => {
return arr;
};
exports.dealRandomAssignees = dealRandomAssignees;
const matchKeyword = (content, keywords) => {
const matchKeyword = (content = '', keywords) => {
return !!keywords.find(item => content.toLowerCase().includes(item));
};
exports.matchKeyword = matchKeyword;