Skip to content

Commit

Permalink
[cli] Fix missing eslint-config dependency and fix lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
bjoerge committed Oct 12, 2017
1 parent 6057cf2 commit 0fb6b6b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions packages/@sanity/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@
"chai": "^3.5.0",
"chai-as-promised": "^6.0.0",
"eslint": "^4.6.1",
"eslint-config-sanity": "^3.1.0",
"mocha": "^3.2.0",
"rimraf": "^2.6.1",
"source-map-support": "^0.4.11"
Expand Down
2 changes: 1 addition & 1 deletion packages/@sanity/cli/src/util/parseArguments.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ module.exports = function parseArguments(argv = process.argv) {
d, debug,
v, version,
'--': extraArguments,
...extOptions,
...extOptions
} = minimist(argv.slice(2), {
'--': true,
boolean: ['h', 'help', 'd', 'debug', 'v', 'version']
Expand Down

0 comments on commit 0fb6b6b

Please sign in to comment.