We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 44e08e6 commit 563002bCopy full SHA for 563002b
1 file changed
cli.js
@@ -17,9 +17,7 @@ var argv = require('yargs')
17
.pkgConf('posthtml')
18
.config()
19
.alias('c', 'config')
20
- .version(function () {
21
- return require('./package.json').version
22
- })
+ .version()
23
.alias('v', 'version')
24
.help('h')
25
.alias('h', 'help')
0 commit comments