Files
nvm/test
Peter Dave Hello d6297b5a15 [Fix] nvm uninstall: report version directory removal failures
The permission preflight cannot guarantee that recursive deletion will succeed.
Ignoring the removal status can report success and delete aliases even when the installed version was not fully removed.
It also prevents commands such as `nvm prune` from counting failures accurately.

Keep cache cleanup best-effort,
but check version-directory removal before reporting success or deleting aliases.
Preserve the native rm diagnostic and report the directory path to aid recovery from partial removal.

Exercise real permission failures and a cache-only failure independently of download slug naming.
Use portable sourcing parameters, check fixture setup,
isolate diagnostics,
and preserve failure status during cleanup.

Refs #1641, #1732
2026-12-02 00:20:35 -08:00
..