mirror of
https://gitea.com/Lydanne/issues-helper.git
synced 2025-08-19 10:15:59 +08:00
style: fix lint
This commit is contained in:
7
dist/index.js
vendored
7
dist/index.js
vendored
@@ -14753,9 +14753,10 @@ 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 && keyword2.length
|
||||
? (0, util_1.matchKeyword)(issue.body, keyword1) && (0, util_1.matchKeyword)(issue.body, keyword2)
|
||||
: (0, util_1.matchKeyword)(issue.body, keyword1);
|
||||
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);
|
||||
}
|
||||
core.info(`[doCheckIssue] result is [${checkResult}]`);
|
||||
core.setOutput('check-result', checkResult);
|
||||
|
@@ -169,9 +169,10 @@ export async function doCheckIssue() {
|
||||
const bodyArr = bodyIncludes.split('/');
|
||||
const keyword1 = dealStringToArr(bodyArr[0]);
|
||||
const keyword2 = dealStringToArr(bodyArr[1]);
|
||||
checkResult = keyword2 && keyword2.length
|
||||
? matchKeyword(issue.body, keyword1) && matchKeyword(issue.body, keyword2)
|
||||
: matchKeyword(issue.body, keyword1);
|
||||
checkResult =
|
||||
keyword2 && keyword2.length
|
||||
? matchKeyword(issue.body, keyword1) && matchKeyword(issue.body, keyword2)
|
||||
: matchKeyword(issue.body, keyword1);
|
||||
}
|
||||
|
||||
core.info(`[doCheckIssue] result is [${checkResult}]`);
|
||||
|
Reference in New Issue
Block a user