depends-on
Advanced tools
Comparing version 2.0.4 to 2.1.0
16
index.js
@@ -110,16 +110,16 @@ var fs = require('fs'); | ||
// adjust paths relative to directory of dependencies.json | ||
if (!what.cwd || what.cwd[0] !== '/') { | ||
what.cwd = what.cwd || self.cwd; | ||
what.cwd = path.resolve(self.cwd, what.cwd); | ||
} | ||
// adjust paths for stdio relative to what.cwd | ||
if (what.stdout && what.stdout[0] !== '/') { | ||
what.stdout = path.resolve(self.cwd, what.stdout); | ||
what.stdout = path.resolve(what.cwd, what.stdout); | ||
} | ||
if (what.stderr && what.stderr[0] !== '/') { | ||
what.stderr = path.resolve(self.cwd, what.stderr); | ||
what.stderr = path.resolve(what.cwd, what.stderr); | ||
} | ||
if (!what.cwd || what.cwd[0] !== '/') { | ||
what.cwd = what.cwd || self.cwd; | ||
what.cwd = path.resolve(self.cwd, what.cwd); | ||
} | ||
// TODO validate existence | ||
@@ -126,0 +126,0 @@ var d = get_dependency(name, what, self.cwd); |
{ | ||
"name": "depends-on", | ||
"version": "2.0.4", | ||
"version": "2.1.0", | ||
"description": "Spins up external processes your tests need", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
15477