[Fix] `nvm_ls_remote_combined`: propagate iojs remote listing failures
Before adoption: this commit came in with the history the project adopted, so no landing records it.
`return $A || $B` only evaluates the first argument, since `return` always succeeds. The io.js exit code was never checked, silently swallowing remote listing failures. Bug introduced in https://github.com/nvm-sh/nvm/commit/ea127846290b1126556e256031383d171a4e38d8 / #616.
authored by Jordan Harband · committed by Jordan Harband · parent 6f428a1 · Browse files · 2 files+72 added−1 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
2 files+72 added−1 removed
- tests:+68 added−0 removed
- other:+4 added−1 removed