Skip to content

Commit

Permalink
Merge pull request #84 from Adslot/renovate-commander-12.x
Browse files Browse the repository at this point in the history
fix(deps): update dependency commander to v12
  • Loading branch information
bchew authored Apr 29, 2024
2 parents 888a368 + f462a21 commit 33e943b
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions lib/cli.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
var program = require('commander');
var { program } = require('commander');

var p = program
program
.option('--up', 'Migrate up')
.option('--down', 'Migrate down')
.option('--create [name]', 'Create empty migration')
Expand All @@ -12,5 +12,5 @@ var p = program
var keys = ['up', 'down', 'create', 'count', 'revert'];
for (var i = keys.length - 1; i >= 0; i--) {
var k = keys[i];
module.exports[k] = p.opts()[k] || process.env['npm_config_' + k];
module.exports[k] = program.opts()[k] || process.env['npm_config_' + k];
};
10 changes: 5 additions & 5 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"main": "index.js",
"dependencies": {
"async": "^3.2.5",
"commander": "^11.1.0"
"commander": "^12.0.0"
},
"devDependencies": {
"mocha": "^10.4.0",
Expand Down

0 comments on commit 33e943b

Please sign in to comment.