Skip to content

Commit 3b6b176

Browse files
greenkeeper[bot]RyanZim
authored andcommitted
Update yargs to version 12.0.1 (postcss#224)
Remove hack since yargs bug is finally fixed
1 parent a29d244 commit 3b6b176

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

lib/args.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,6 @@ Usage:
5656
alias: 'replace',
5757
desc: 'Replace (overwrite) the input file',
5858
type: 'boolean',
59-
// HACK: conflicts doesn't work with boolean opts correctly, so we do this
60-
// See https://github.com/yargs/yargs/issues/929
61-
coerce: v => v || undefined,
6259
conflicts: ['output', 'dir']
6360
})
6461
.alias('map', 'm')
@@ -72,9 +69,6 @@ Usage:
7269
alias: 'w',
7370
desc: 'Watch files for changes and recompile as needed',
7471
type: 'boolean',
75-
// HACK: conflicts doesn't work with boolean opts correctly, so we do this
76-
// See https://github.com/yargs/yargs/issues/929
77-
coerce: v => v || undefined,
7872
conflicts: 'replace'
7973
})
8074
.option('env', {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"postcss-reporter": "^5.0.0",
3030
"pretty-hrtime": "^1.0.3",
3131
"read-cache": "^1.0.0",
32-
"yargs": "^11.0.0"
32+
"yargs": "^12.0.1"
3333
},
3434
"devDependencies": {
3535
"ava": "^0.25.0",

0 commit comments

Comments
 (0)