Skip to content

Commit 8ba2440

Browse files
authored
Merge pull request #112 from telerik/kddimtirov/add-error-handler-spawn
Kddimtirov/add error handler spawn
2 parents 0c49691 + 50ac728 commit 8ba2440

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

lib/child-process.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,5 +55,9 @@ export function spawn(command: string, args: string[], opts?: any): Promise<stri
5555
}
5656
}
5757
});
58+
59+
childProcess.on("error", (err) => {
60+
reject(err);
61+
});
5862
});
5963
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ios-sim-portable",
3-
"version": "4.0.1",
3+
"version": "4.0.2",
44
"description": "",
55
"main": "./lib/ios-sim.js",
66
"scripts": {

0 commit comments

Comments
 (0)