Commit 2a862bb
committed
fix: auto-patch Commander.js multi-char short flags in postinstall
The source uses -d2e flag which Commander.js rejects (single-char only).
postinstall.sh now patches both:
1. shortFlagExp regex: /^-[^-]$/ → /^-[^-]+$/
2. single-char restriction check disabled
Users no longer need to manually patch node_modules after bun install.1 parent 5ea0b18 commit 2a862bb
1 file changed
Lines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
0 commit comments