Commit 5a0cfb0
committed
fix: use parseAsync() in CLI to prevent Bun hang
program.parse() doesn't await async action handlers. Node's event loop
handles this by accident, but Bun's stricter loop hangs indefinitely.
Switching to program.parseAsync() fixes vault-cli integration tests
under Bun.1 parent aa0840e commit 5a0cfb0
2 files changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| 44 | + | |
44 | 45 | | |
45 | 46 | | |
46 | 47 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
299 | 299 | | |
300 | 300 | | |
301 | 301 | | |
302 | | - | |
| 302 | + | |
0 commit comments