mirror of
https://github.com/nvm-sh/nvm.git
synced 2026-04-13 16:34:57 +08:00
`return` inside `(...)` subshells only exits the subshell, not the calling function.
Errors in mkdir, download, and checksum verification were silently ignored.
Use `{ ...; }` brace groups instead.
Bug introduced in ba3ad8e460.
152 KiB
Executable File
152 KiB
Executable File