bilderhic
Advanced tools
Comparing version 1.0.9 to 1.0.10
{ | ||
"name": "bilderhic", | ||
"version": "1.0.9", | ||
"version": "1.0.10", | ||
"description": "Bilderhic (bhic) is a smart and simple build tool", | ||
@@ -5,0 +5,0 @@ "preferGlobal": true, |
@@ -33,2 +33,7 @@ /** @typedef {import("../../environment")} Environment */ | ||
_path = this.environment.applyVariables(_path); | ||
if (_path.indexOf("[") !== -1 && _path.indexOf("]") !== -1) { | ||
throw new Error(`One or more undefined variables in path "${_path}"`); | ||
} | ||
_path = path.resolve(this.environment.cwd, _path); | ||
@@ -38,3 +43,4 @@ return _path; | ||
catch (err) { | ||
throw new Error(`Error parsing "${_path}". ${err + ""}.`); | ||
let msg = "" + (err.error || err.message || err); | ||
throw new Error(`Error parsing "${_path}". ${msg + ""}.`); | ||
} | ||
@@ -41,0 +47,0 @@ } |
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
29463
782