Files
nvm/test
Peter Dave Hello 2f736f5781 [Fix] install.sh: abort when adding the required Git remote fails
An existing installation may need a new remote before it can fetch an update.
If adding that remote fails,
the helper returns 2 but the installer ignores it,
modifies the profile,
and can report success while still using the old version.

Exit at the failing command, consistent with other fatal Git errors.

Use a real Git config lock to exercise both installation methods.
Verify that the test reaches its intended failure rather than passing on an unrelated nonzero exit.

Regression introduced by dbda4b9387
2026-12-01 03:57:04 -08:00
..