Commit a8dd54b
committed
fix(cli): ensure process exits in notifyUpdate catch blocks
Add process.exit(exitCode) in catch blocks to prevent process from hanging
when errors occur during update notification check. This ensures the process
always terminates with the appropriate exit code in all code paths.1 parent 4c131bf commit a8dd54b
File tree
3 files changed
+3
-3
lines changed- packages
- create-turbo/src/utils
- turbo-codemod/src/utils
- turbo-gen/src/utils
3 files changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
0 commit comments