This repository was archived by the owner on Apr 2, 2026. It is now read-only.
Commit 9dae818
JasperVanEsveld
fix(compile): panic when calling op_is_terminal (#1116)
This works towards fixing
[#27730](denoland/deno#27730) and
[#21091](denoland/deno#21091).
An error is not handled when calling `op_is_terminal`.
Ironically, this causes the application to panic when bootstrapping if
there is no terminal in windows.
This PR does not fully fix the issue yet, as there is a similar problem
in deno's code base, see this [pull
request](denoland/deno#28823).1 parent ec04024 commit 9dae818
1 file changed
Lines changed: 5 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
465 | 465 | | |
466 | 466 | | |
467 | 467 | | |
468 | | - | |
469 | | - | |
470 | | - | |
471 | | - | |
472 | | - | |
473 | | - | |
| 468 | + | |
| 469 | + | |
| 470 | + | |
| 471 | + | |
| 472 | + | |
474 | 473 | | |
475 | 474 | | |
476 | 475 | | |
| |||
0 commit comments