mirror of
https://gitea.com/Lydanne/issues-helper.git
synced 2025-08-21 11:15:50 +08:00
perf: remove console
This commit is contained in:
1
dist/index.js
vendored
1
dist/index.js
vendored
@@ -6084,7 +6084,6 @@ async function doCheckIssue (owner, repo, issueNumber) {
|
|||||||
keyword2.length ?
|
keyword2.length ?
|
||||||
matchKeyword(issue.data.body, keyword1) && matchKeyword(issue.data.body, keyword2) :
|
matchKeyword(issue.data.body, keyword1) && matchKeyword(issue.data.body, keyword2) :
|
||||||
matchKeyword(issue.data.body, keyword1);
|
matchKeyword(issue.data.body, keyword1);
|
||||||
console.log(!!checkResult)
|
|
||||||
}
|
}
|
||||||
core.info(`Actions: [check-issue][${!!checkResult}] success!`);
|
core.info(`Actions: [check-issue][${!!checkResult}] success!`);
|
||||||
core.setOutput("check-result", !!checkResult);
|
core.setOutput("check-result", !!checkResult);
|
||||||
|
@@ -103,7 +103,6 @@ async function doCheckIssue (owner, repo, issueNumber) {
|
|||||||
keyword2.length ?
|
keyword2.length ?
|
||||||
matchKeyword(issue.data.body, keyword1) && matchKeyword(issue.data.body, keyword2) :
|
matchKeyword(issue.data.body, keyword1) && matchKeyword(issue.data.body, keyword2) :
|
||||||
matchKeyword(issue.data.body, keyword1);
|
matchKeyword(issue.data.body, keyword1);
|
||||||
console.log(!!checkResult)
|
|
||||||
}
|
}
|
||||||
core.info(`Actions: [check-issue][${!!checkResult}] success!`);
|
core.info(`Actions: [check-issue][${!!checkResult}] success!`);
|
||||||
core.setOutput("check-result", !!checkResult);
|
core.setOutput("check-result", !!checkResult);
|
||||||
|
Reference in New Issue
Block a user