@travetto/exec
Advanced tools
Comparing version 0.3.6 to 0.3.7
@@ -11,3 +11,3 @@ { | ||
"dependencies": { | ||
"@travetto/base": "^0.3.7", | ||
"@travetto/base": "^0.3.9", | ||
"@types/generic-pool": "^3.1.4", | ||
@@ -31,4 +31,4 @@ "generic-pool": "^3.4.2" | ||
}, | ||
"version": "0.3.6", | ||
"gitHead": "a97a54d48f681c8a3c265803ab1f8d8da1690f39" | ||
"version": "0.3.7", | ||
"gitHead": "4ea791fc452f6eec7ff7c1f879351f01799cbf5a" | ||
} |
@@ -5,2 +5,3 @@ import * as child_process from 'child_process'; | ||
import { Execution } from './execution'; | ||
import { Env } from '@travetto/base'; | ||
@@ -28,3 +29,3 @@ export class ChildExecution<U extends ExecutionEvent = ExecutionEvent> extends Execution<U, child_process.ChildProcess> { | ||
if (process.env.DEBUG) { | ||
if (Env.isTrue('DEBUG')) { | ||
sub.stdout.pipe(process.stdout); | ||
@@ -31,0 +32,0 @@ sub.stderr.pipe(process.stderr); |
@@ -7,3 +7,3 @@ import * as child_process from 'child_process'; | ||
import { Shutdown, ScanFs, ScanEntry } from '@travetto/base'; | ||
import { Shutdown, ScanFs, ScanEntry, Env } from '@travetto/base'; | ||
@@ -74,3 +74,3 @@ import { CommonProcess, ExecutionResult } from './types'; | ||
constructor(private image: string, container?: string) { | ||
this.container = container || `${process.env.DOCKER_NS || image}-${Date.now()}-${Math.random()}`.replace(/[^A-Z0-9a-z\-]/g, ''); | ||
this.container = container || `${Env.get('DOCKER_NS', image)}-${Date.now()}-${Math.random()}`.replace(/[^A-Z0-9a-z\-]/g, ''); | ||
} | ||
@@ -77,0 +77,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
30950
819
Updated@travetto/base@^0.3.9