Skip to content

Commit 5d154c0

Browse files
authored
Merge pull request #217 from cag/update-yargs
Update yargs to version 11
2 parents c3b0d91 + 43e8fe0 commit 5d154c0

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
"memorystream": "^0.3.1",
4444
"require-from-string": "^1.1.0",
4545
"semver": "^5.3.0",
46-
"yargs": "^4.7.1"
46+
"yargs": "^11.0.0"
4747
},
4848
"devDependencies": {
4949
"coveralls": "^3.0.0",

solcjs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,7 @@ var yargs = require('yargs')
3737
describe: 'Output directory for the contracts.',
3838
type: 'string'
3939
})
40-
.global([ 'version', 'optimize' ])
41-
.version(function() { return solc.version(); })
40+
.version(solc.version())
4241
.showHelpOnFail(false, 'Specify --help for available options')
4342
.help()
4443

0 commit comments

Comments
 (0)