Commit 97b89f2
committed
fix(global-cli): restore "Failed to update" wording for vp update -g
`managed_update` was delegating to `managed_install` after the recent
extract, which made `vp update -g` print "Failed to install {pkg}" on
error instead of the original "Failed to update {pkg}". Inline the
loop in `managed_update` so the verb matches the user's command.
Also drop unused `raw_stderr_inline` from `vite_shared::output`.
The companion `raw_stderr` is still exported and used; the inline
variant was added speculatively for symmetry with `raw_inline` but
has no callers, so YAGNI — adding it back is a one-liner if needed.
Closes two cursor bugbot findings on PR #1495.1 parent a810f37 commit 97b89f2
2 files changed
Lines changed: 7 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
586 | 586 | | |
587 | 587 | | |
588 | 588 | | |
589 | | - | |
| 589 | + | |
| 590 | + | |
| 591 | + | |
| 592 | + | |
| 593 | + | |
| 594 | + | |
| 595 | + | |
590 | 596 | | |
591 | 597 | | |
592 | 598 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
0 commit comments