This is an automated email from the ASF dual-hosted git repository.
wangzx pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/echarts-bot.git
The following commit(s) were added to refs/heads/master by this push:
new d554566 fix
d554566 is described below
commit d554566f4dda7e9fcc06a67e1b05a416ce2ad150
Author: plainheart <[email protected]>
AuthorDate: Thu Dec 2 15:51:40 2021 +0800
fix
---
index.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/index.js b/index.js
index aafa94e..62a959f 100644
--- a/index.js
+++ b/index.js
@@ -25,7 +25,7 @@ module.exports = (/** @type import('probot').Probot */ app)
=> {
// add and remove label
await Promise.all([addLabels, removeLabel]);
- const invalid = addLabels.includes(labelText.INVALID);
+ const invalid = issue.addLabels.includes(labelText.INVALID);
// translate finally if valid
return invalid || translateIssue(context, issue);
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]