update wrap
This commit is contained in:
parent
6da41845f1
commit
661e782367
@ -2,7 +2,7 @@ import * as spawnWrap from 'spawn-wrap'
|
|||||||
|
|
||||||
let unwrap: any = null
|
let unwrap: any = null
|
||||||
|
|
||||||
export let startSpawnWrap = (filePath: string, cliArgs: string[], envArgs: any) => {
|
export let startSpawnWrap = (filePath: string, cliArgs: string[] = [], envArgs: any = {}) => {
|
||||||
let spawnArray = [filePath]
|
let spawnArray = [filePath]
|
||||||
for (let cliArg of cliArgs) {
|
for (let cliArg of cliArgs) {
|
||||||
spawnArray.push(cliArg)
|
spawnArray.push(cliArg)
|
||||||
|
Loading…
Reference in New Issue
Block a user