Commit 6e5e191
committed
fix: resolve TypeError in interactive mode
The interactive mode was causing a TypeError because it was trying to replace
process.stdout, which in newer Node.js versions has only a getter.
This change:
1. Removes the attempt to replace process.stdout
2. Updates the cleanup function accordingly
Fixes interactive mode when using the -i flag1 parent 0809694 commit 6e5e191
1 file changed
+3
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
48 | | - | |
49 | | - | |
| 47 | + | |
| 48 | + | |
50 | 49 | | |
51 | 50 | | |
52 | 51 | | |
| |||
120 | 119 | | |
121 | 120 | | |
122 | 121 | | |
123 | | - | |
124 | | - | |
| 122 | + | |
125 | 123 | | |
126 | 124 | | |
127 | 125 | | |
| |||
0 commit comments