Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
pascalgn committed Oct 8, 2020
1 parent eb9575a commit 3a95ac4
Show file tree
Hide file tree
Showing 3 changed files with 404 additions and 405 deletions.
20 changes: 12 additions & 8 deletions bin/automerge.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,25 +24,29 @@ const OLD_CONFIG = [
async function main() {
const parser = new ArgumentParser({
prog: pkg.name,
version: pkg.version,
addHelp: true,
add_help: true,
description: pkg.description
});
parser.addArgument(["-t", "--trace"], {
action: "storeTrue",
parser.add_argument("-v", "--version", {
action: "version",
version: pkg.version,
help: "Show version number and exit"
});
parser.add_argument("-t", "--trace", {
action: "store_true",
help: "Show trace output"
});
parser.addArgument(["-d", "--debug"], {
action: "storeTrue",
parser.add_argument("-d", "--debug", {
action: "store_true",
help: "Show debugging output"
});
parser.addArgument(["url"], {
parser.add_argument("url", {
metavar: "<url>",
nargs: "?",
help: "GitHub URL to process instead of environment variables"
});

const args = parser.parseArgs();
const args = parser.parse_args();

if (args.trace) {
logger.level = "trace";
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
"devDependencies": {
"dotenv": "^8.2.0",
"eslint": "^7.10.0",
"eslint-plugin-jest": "^24.0.2",
"jest": "^26.4.2",
"eslint-plugin-jest": "^24.1.0",
"jest": "^26.5.2",
"prettier": "^2.1.2"
},
"prettier": {
Expand Down
Loading

0 comments on commit 3a95ac4

Please sign in to comment.