Fix --version
This commit is contained in:
parent
fbf07cda0c
commit
f4b03826b0
|
@ -17,7 +17,7 @@ module.exports = function() {
|
|||
process.exitCode = ExitCodes.SUCCESS;
|
||||
|
||||
if(true === argv.version) {
|
||||
return console.info(require('../package.json').version);
|
||||
return console.info(require('../../package.json').version);
|
||||
}
|
||||
|
||||
if(0 === argv._.length ||
|
||||
|
|
Loading…
Reference in New Issue