Skip to content
Permalink
Browse files
fix
  • Loading branch information
plainheart committed Dec 2, 2021
1 parent 99dca36 commit d554566f4dda7e9fcc06a67e1b05a416ce2ad150
Showing 1 changed file with 1 addition and 1 deletion.
@@ -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);

0 comments on commit d554566

Please sign in to comment.