[Fix] ensure LTS alias dir exists before writing to it.
Fixes #1216
parent
68bf93514b
commit
6abc36ee4f
1
nvm.sh
1
nvm.sh
|
@ -966,6 +966,7 @@ nvm_ls_remote_index_tab() {
|
||||||
)"
|
)"
|
||||||
local LTS_ALIAS
|
local LTS_ALIAS
|
||||||
local LTS_VERSION
|
local LTS_VERSION
|
||||||
|
command mkdir -p "$(nvm_alias_path)/lts"
|
||||||
nvm_echo "${VERSION_LIST}" \
|
nvm_echo "${VERSION_LIST}" \
|
||||||
| awk '{
|
| awk '{
|
||||||
if ($10 ~ /^\-?$/) { next }
|
if ($10 ~ /^\-?$/) { next }
|
||||||
|
|
Loading…
Reference in New Issue