diff --git a/bin/n b/bin/n index fb686f4..675b88c 100755 --- a/bin/n +++ b/bin/n @@ -262,7 +262,7 @@ function update_arch_settings_for_version() { function is_lts_codename() { # https://github.com/nodejs/Release/blob/master/CODENAMES.md # e.g. argon, Boron - [[ "$1" =~ ^([Aa]rgon|[Bb]oron|[Cc]arbon|[Dd]ubnium|[Ee]rbium|[Ff]ermium|[Gg]allium|[Hh]ydrogen|[Ii]ron|[Jj]od)$ ]] + [[ "$1" =~ ^([Aa]rgon|[Bb]oron|[Cc]arbon|[Dd]ubnium|[Ee]rbium|[Ff]ermium|[Gg]allium|[Hh]ydrogen|[Ii]ron|[Jj]od|[Kk]rypton|[Ll]ithium)$ ]] } # diff --git a/test/tests/install-options.bats b/test/tests/install-options.bats index 2dcdc95..f30da48 100644 --- a/test/tests/install-options.bats +++ b/test/tests/install-options.bats @@ -19,7 +19,7 @@ function teardown() { @test "n --download 4.9.1" { n --download 4.9.1 [ -d "${N_PREFIX}/n/versions/node/4.9.1" ] - # Remember, we installed a dumy node so do have a bin/node + # Remember, we installed a dummy node so do have a bin/node [ ! -f "${N_PREFIX}/bin/npm" ] [ ! -d "${N_PREFIX}/include" ] [ ! -d "${N_PREFIX}/lib" ]