mirror of
https://github.com/nvm-sh/nvm.git
synced 2026-04-12 07:54:51 +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.
1.6 KiB
Executable File
1.6 KiB
Executable File