Skip to content

Commit

Permalink
Upgrade commander
Browse files Browse the repository at this point in the history
  • Loading branch information
TrySound committed Feb 14, 2021
1 parent a1dc0ff commit cb14e3c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
3 changes: 1 addition & 2 deletions lib/svgo/coa.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,7 @@ module.exports = function makeProgram(program) {
.action(action);
}

function action(args, program) {
var opts = program.opts();
function action(args, opts) {
var input = opts.input || args;
var output = opts.output;
var config = {}
Expand Down
6 changes: 3 additions & 3 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 @@ -52,7 +52,7 @@
},
"dependencies": {
"chalk": "^4.1.0",
"commander": "^6.1.0",
"commander": "^7.0.0",
"css-select": "^2.0.0",
"css-select-base-adapter": "^0.1.1",
"css-tree": "1.0.0-alpha.37",
Expand Down

0 comments on commit cb14e3c

Please sign in to comment.