vscode-nls
Advanced tools
Comparing version 3.2.0 to 3.2.1
@@ -257,4 +257,3 @@ /* -------------------------------------------------------------------------------------------- | ||
var result; | ||
var root = path.join(options.cacheRoot, header.id + "-" + header.hash); | ||
var bundle = path.join(root, "nls.bundle.json"); | ||
var bundle = path.join(options.cacheRoot, header.id + "-" + header.hash + ".json"); | ||
var useMemoryOnly = false; | ||
@@ -264,3 +263,3 @@ var writeBundle = false; | ||
result = JSON.parse(fs.readFileSync(bundle, { encoding: 'utf8', flag: 'r' })); | ||
touch(root); | ||
touch(bundle); | ||
return result; | ||
@@ -286,3 +285,2 @@ } | ||
if (writeBundle) { | ||
mkdir(root); | ||
try { | ||
@@ -289,0 +287,0 @@ fs.writeFileSync(bundle, JSON.stringify(result), { encoding: 'utf8', flag: 'wx' }); |
{ | ||
"name": "vscode-nls", | ||
"version": "3.2.0", | ||
"version": "3.2.1", | ||
"description": "NPM module to externalize and localize VSCode extensions", | ||
@@ -5,0 +5,0 @@ "author": "Microsoft Corporation", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
21930
460