meow
Advanced tools
Comparing version 7.1.0 to 7.1.1
@@ -15,3 +15,3 @@ 'use strict'; | ||
delete require.cache[__filename]; | ||
const parentDir = path.dirname(module.parent.filename); | ||
const parentDir = path.dirname(module.parent && module.parent.filename ? module.parent.filename : '.'); | ||
@@ -157,3 +157,3 @@ const isFlagMissing = (flagName, definedFlags, receivedFlags, input) => { | ||
console.log(typeof options.version === 'string' ? options.version : pkg.version); | ||
process.exit(); | ||
process.exit(0); | ||
}; | ||
@@ -160,0 +160,0 @@ |
{ | ||
"name": "meow", | ||
"version": "7.1.0", | ||
"version": "7.1.1", | ||
"description": "CLI app helper", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
22626