Skip to content
This repository has been archived by the owner on Oct 8, 2022. It is now read-only.

Commit

Permalink
Merge branch 'master' into remove-label-feature
Browse files Browse the repository at this point in the history
  • Loading branch information
Andy McKay authored Oct 1, 2019
2 parents 3febd11 + 7650ddc commit db670cf
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 2 deletions.
2 changes: 2 additions & 0 deletions label.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,11 @@ async function label() {
label()
.then(
result => {
// eslint-disable-next-line no-console
console.log(`Updated labels in ${result}. Added: ${labelsToAdd}. Removed: ${labelsToRemove}.`);
},
err => {
// eslint-disable-next-line no-console
console.log(err);
}
)
Expand Down
21 changes: 21 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"description": "Labels issues when they land in a repo.",
"main": "label.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"test": "echo \"Error: no test specified\" && exit 1",
"lint": "eslint ."
},
"repository": {
"type": "git",
Expand All @@ -18,6 +19,7 @@
"homepage": "https://github.com/andymckay/labeler#readme",
"dependencies": {
"@actions/core": "^1.0.0",
"@actions/github": "^1.0.1"
"@actions/github": "^1.0.1",
"eslint-plugin-prettier": "^3.1.1"
}
}

0 comments on commit db670cf

Please sign in to comment.