@dbpath/files
Advanced tools
Comparing version 0.2.0 to 0.2.1
@@ -57,7 +57,7 @@ "use strict"; | ||
return dir; | ||
const file = Path.join(dir, filename); | ||
const file = Path.join(dir, marker, filename); | ||
try { | ||
const contents = fs_1.default.readFileSync(file).toString('utf-8'); | ||
try { | ||
return JSON.parse(contents).currentEnvironment; | ||
return JSON.parse(contents); | ||
} | ||
@@ -64,0 +64,0 @@ catch (e) { |
{ | ||
"name": "@dbpath/files", | ||
"description": "", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"main": "dist/index", | ||
@@ -6,0 +6,0 @@ "types": "dist/index", |
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
9235