Skip to content
Permalink
Browse files
chore: update dependencies.
  • Loading branch information
plainheart committed Dec 16, 2021
1 parent 2294255 commit 9c9d6707961ec8943af8e0eee53fee369ce2bbb8
Showing 3 changed files with 12 additions and 12 deletions.
@@ -147,8 +147,8 @@ module.exports = (/** @type import('probot').Probot */ app) => {
let removeLabel;
let addLabel;
if (isCore && !isCommenterAuthor) {
// add `duplicate` label when a committer comments with the `Duplicate of` keyword on the issue
if (comment.body.indexOf('Duplicate of #') > -1) {
// add `duplicate` label when a committer comments with the `Duplicate of/with` keyword on the issue
if (/Duplicate (of|with) #/i.test(comment.body)) {
addLabel = labelText.DUPLICATE;
}
else {

Some generated files are not rendered by default. Learn more.

@@ -24,7 +24,7 @@
"@plainheart/google-translate-api": "^1.1.0",
"bing-translate-api": "^2.2.1",
"franc-min": "^5.0.0",
"probot": "^12.1.1"
"probot": "^12.1.3"
},
"devDependencies": {
"jest": "^25.0.0",
@@ -33,7 +33,7 @@
"smee-client": "^1.2.2",
"standard": "^14.3.1",
"winston": "^3.3.3",
"winston-daily-rotate-file": "^4.5.0"
"winston-daily-rotate-file": "^4.5.5"
},
"engines": {
"node": ">=10.21"

0 comments on commit 9c9d670

Please sign in to comment.