File tree Expand file tree Collapse file tree 2 files changed +2
-8
lines changed
react-native-node-api-cmake/src
react-native-node-api-modules/src/node/cli Expand file tree Collapse file tree 2 files changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -287,11 +287,8 @@ export const program = new Command("react-native-node-api-cmake")
287
287
} catch ( error ) {
288
288
if ( error instanceof SpawnFailure ) {
289
289
error . flushOutput ( "both" ) ;
290
- process . exitCode = 1 ;
291
- } else {
292
- process . exitCode = 2 ;
293
- throw error ;
294
290
}
291
+ throw error ;
295
292
}
296
293
} ) ;
297
294
Original file line number Diff line number Diff line change @@ -71,10 +71,7 @@ export const command = new Command("vendor-hermes")
71
71
} catch ( error ) {
72
72
if ( error instanceof SpawnFailure ) {
73
73
error . flushOutput ( "both" ) ;
74
- process . exitCode = 1 ;
75
- } else {
76
- process . exitCode = 2 ;
77
- throw error ;
78
74
}
75
+ throw error ;
79
76
}
80
77
} ) ;
You can’t perform that action at this time.
0 commit comments