mirror of
https://gitea.com/Lydanne/issues-helper.git
synced 2025-08-19 18:25:58 +08:00
🐞 fix: check will undefined
This commit is contained in:
2
dist/index.js
vendored
2
dist/index.js
vendored
@@ -14753,7 +14753,7 @@ function doCheckIssue() {
|
||||
const bodyArr = bodyIncludes.split('/');
|
||||
const keyword1 = (0, actions_util_1.dealStringToArr)(bodyArr[0]);
|
||||
const keyword2 = (0, actions_util_1.dealStringToArr)(bodyArr[1]);
|
||||
checkResult = keyword2.length
|
||||
checkResult = keyword2 && keyword2.length
|
||||
? (0, util_1.matchKeyword)(issue.body, keyword1) && (0, util_1.matchKeyword)(issue.body, keyword2)
|
||||
: (0, util_1.matchKeyword)(issue.body, keyword1);
|
||||
}
|
||||
|
Reference in New Issue
Block a user