File tree Expand file tree Collapse file tree 2 files changed +11
-3
lines changed Expand file tree Collapse file tree 2 files changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -36,8 +36,16 @@ var cleanUp = function cleanUp () {
36
36
}
37
37
}
38
38
39
- process . kill ( tunnel . process . pid , 'SIGKILL' ) ;
40
- fs . unlink ( pid_file ) ;
39
+ try {
40
+ process . kill ( tunnel . process . pid , 'SIGKILL' ) ;
41
+ } catch ( e ) {
42
+ console . log ( "Non existant tunnel" ) ;
43
+ }
44
+ try {
45
+ fs . unlink ( pid_file ) ;
46
+ } catch ( e ) {
47
+ console . log ( "Non existant pid file." ) ;
48
+ }
41
49
} ;
42
50
43
51
process . on ( 'exit' , cleanUp ) ;
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " browserstack-runner" ,
3
3
"description" : " A command line interface to run browser tests over BrowserStack" ,
4
- "version" : " 0.0.7 " ,
4
+ "version" : " 0.0.8 " ,
5
5
"homepage" : " https://github.com/browserstack/browserstack-runner" ,
6
6
"repository" : {
7
7
"type" : " git" ,
You can’t perform that action at this time.
0 commit comments