Browse Source
When sourcing nvm.sh, if there are no version of node installed the command `nvm ls default` silentry fails, however it's return status code (`$?`) is still set to non-zero, which means an error. This patch simply avoids this issue by making sure the status code after sourcing is ok so that people that put the returned status codes in their command line prompt don't get an error every time `nvm.sh` is sourced.master
![caioromao@gmail.com](/assets/img/avatar_default.png)
1 changed files with 1 additions and 1 deletions
Loading…
Reference in new issue