Skip to content
This repository was archived by the owner on Apr 7, 2021. It is now read-only.

Commit 30677ed

Browse files
committed
fix(parse-args): fix version thing for yargs
1 parent 0c2314a commit 30677ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

parse-args.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ function yargsParser (argv, defaultNpm) {
223223
type: 'string',
224224
describe: Y()`Extra node argument when calling a node binary.`
225225
})
226-
.version(() => require('./package.json').version)
226+
.version()
227227
.alias('version', 'v')
228228
.help()
229229
.alias('help', 'h')

0 commit comments

Comments
 (0)