@opensea/i18n-dl
Advanced tools
Comparing version 0.0.22 to 0.0.23
@@ -135,3 +135,3 @@ #!/usr/bin/env node | ||
const split = translatedFile.split(path2.sep); | ||
const locale = split[split.length - (3 + directory.split(path2.sep).length)]; | ||
const locale = split[split.length - (3 + path2.normalize(directory).split(path2.sep).length)]; | ||
const localeFolder = path2.join(directory, locale); | ||
@@ -138,0 +138,0 @@ if (!await fileExists(localeFolder)) { |
{ | ||
"name": "@opensea/i18n-dl", | ||
"version": "0.0.22", | ||
"version": "0.0.23", | ||
"description": "Package for i18n key download", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
6909