@travetto/exec
Advanced tools
Comparing version 0.5.3 to 0.5.4
@@ -11,3 +11,3 @@ { | ||
"dependencies": { | ||
"@travetto/base": "^0.5.4", | ||
"@travetto/base": "^0.5.5", | ||
"@types/generic-pool": "^3.1.6", | ||
@@ -26,3 +26,7 @@ "generic-pool": "^3.4.2" | ||
"license": "MIT", | ||
"main": "src/lib/", | ||
"main": "index.ts", | ||
"files": [ | ||
"index.ts", | ||
"src" | ||
], | ||
"name": "@travetto/exec", | ||
@@ -32,4 +36,4 @@ "repository": { | ||
}, | ||
"version": "0.5.3", | ||
"gitHead": "a6b165a87702eb29efcadfd1f27450b7daba2782" | ||
"version": "0.5.4", | ||
"gitHead": "c966f7a6d0670d9ee4237576e7d5443285940bfc" | ||
} |
import * as cp from 'child_process'; | ||
import { BaseError } from '@travetto/base'; | ||
import { AppError } from '@travetto/base'; | ||
@@ -39,3 +39,3 @@ import { ExecutionOptions, ExecutionResult } from './types'; | ||
if (!result.valid) { | ||
reject(new BaseError(`Error executing ${cmd}: ${result.message || 'failed'}`, result)); | ||
reject(new AppError(`Error executing ${cmd}: ${result.message || 'failed'}`, result)); | ||
} else { | ||
@@ -42,0 +42,0 @@ resolve(result); |
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
29999
18
763
Updated@travetto/base@^0.5.5