$NVM_DIR/default-packages ignores last line #1995
Labels
bugs
Oh no, something's broken :-(
installing node
Issues with installing node/io.js versions.
pull request wanted
This is a great way to contribute! Help us out :-D
If the
$NVM_DIR/default-packages
file does not have a blank newline at the end, the contents of the last line are ignored.Operating system and version:
macOS Mojave v10.14.2
Output of
nvm --version
:0.33.11
How did you install
nvm
?Homebrew
What steps did you perform?
$NVM_DIR/default-packages
with the following contents:nvm install stable
What happened?
Only first three packages in the
$NVM_DIR/default-packages
were installedWhat did you expect to happen?
The last package listed in
$NVM_DIR/default-packages
(bunyan
) should have been installed as well.After I edited the
$NVM_DIR/default-packages
file to have a blank newline at the end, the same steps installed all four packages.The text was updated successfully, but these errors were encountered: