Skip to content

Commit

Permalink
Update dependencies (#52)
Browse files Browse the repository at this point in the history
  • Loading branch information
SimenB authored and sindresorhus committed Nov 3, 2016
1 parent 6a32bbc commit edcdff8
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
2 changes: 2 additions & 0 deletions index.js
Expand Up @@ -58,11 +58,13 @@ module.exports = (opts, minimistOpts) => {

const showHelp = code => {
console.log(help);
// eslint-disable-next-line unicorn/no-process-exit
process.exit(typeof code === 'number' ? code : 2);
};

if (argv.version && opts.version !== false) {
console.log(typeof opts.version === 'string' ? opts.version : pkg.version);
// eslint-disable-next-line unicorn/no-process-exit
process.exit();
}

Expand Down
6 changes: 3 additions & 3 deletions package.json
Expand Up @@ -38,18 +38,18 @@
"console"
],
"dependencies": {
"camelcase-keys": "^3.0.0",
"camelcase-keys": "^4.0.0",
"decamelize-keys": "^1.0.0",
"loud-rejection": "^1.0.0",
"minimist": "^1.1.3",
"normalize-package-data": "^2.3.4",
"read-pkg-up": "^1.0.1",
"read-pkg-up": "^2.0.0",
"redent": "^2.0.0",
"trim-newlines": "^1.0.0"
},
"devDependencies": {
"ava": "*",
"execa": "^0.4.0",
"execa": "^0.5.0",
"indent-string": "^3.0.0",
"xo": "*"
},
Expand Down
4 changes: 2 additions & 2 deletions test.js
Expand Up @@ -14,8 +14,8 @@ test('return object', t => {
foo <input>
`
}, {
'alias': {u: 'unicorn'},
'default': {meow: 'dog'},
alias: {u: 'unicorn'},
default: {meow: 'dog'},
'--': true
});

Expand Down

0 comments on commit edcdff8

Please sign in to comment.