@acryps/environment
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -8,3 +8,3 @@ "use strict"; | ||
const child_process_1 = require("child_process"); | ||
const childProgram = process.argv.slice(process.argv.indexOf(__filename) + 1); | ||
const childProgram = process.argv.slice(2); | ||
if (!childProgram.length) { | ||
@@ -130,3 +130,3 @@ throw new Error(`No child program set (${process.argv.join(' ')}). Environment cannot be applied`); | ||
// passing our own properties like 'active setting' would allow developers to add checks to them instead of using the configured environment variables, which is not intended | ||
const childProcess = (0, child_process_1.spawn)(nodeLocation, childProgram.slice(1), { | ||
const childProcess = (0, child_process_1.spawn)(nodeLocation, childProgram, { | ||
stdio: 'inherit', | ||
@@ -133,0 +133,0 @@ env: { |
{ | ||
"name": "@acryps/environment", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"license": "GPL-3.0-only", | ||
@@ -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
8874