eshost-cli
Advanced tools
Comparing version 7.6.2 to 7.6.3
@@ -310,3 +310,7 @@ #!/usr/bin/env node | ||
if (fileArg) { | ||
const file = path.join(process.cwd(), fileArg); | ||
const fileArgJoinPath = !path.isAbsolute(fileArg) | ||
? process.cwd() | ||
: ''; | ||
const file = path.join(fileArgJoinPath, fileArg); | ||
const contents = fs.readFileSync(file, 'utf8'); | ||
@@ -313,0 +317,0 @@ const attrs = { |
{ | ||
"name": "eshost-cli", | ||
"version": "7.6.2", | ||
"version": "7.6.3", | ||
"description": "Run scripts in any ECMAScript host", | ||
@@ -5,0 +5,0 @@ "bin": { |
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
32769
715