i18next-parser
Advanced tools
Comparing version 7.0.2 to 7.0.3
@@ -131,2 +131,8 @@ #!/usr/bin/env node | ||
let basePath = process.cwd() | ||
if (program.opts().config) { | ||
basePath = path.dirname(path.resolve(program.opts().config)) | ||
} | ||
globs = config.input.map(function (s) { | ||
@@ -138,6 +144,3 @@ var negate = '' | ||
} | ||
return ( | ||
negate + | ||
path.resolve(path.dirname(path.resolve(program.opts().config)), s) | ||
) | ||
return negate + path.resolve(basePath, s) | ||
}) | ||
@@ -144,0 +147,0 @@ } |
{ | ||
"name": "i18next-parser", | ||
"description": "Command Line tool for i18next", | ||
"version": "7.0.2", | ||
"version": "7.0.3", | ||
"type": "module", | ||
@@ -6,0 +6,0 @@ "license": "MIT", |
208974
1671