Use node dir when already installed

This commit is contained in:
Jonghoon Seo
2022-09-09 05:30:41 +09:00
parent 3bb8b224e7
commit c1f139108a
+1
View File
@@ -112,6 +112,7 @@ if [[ -z "$(command -v node)" ]]; then
fi
else
echo "Node.js is already installed. Skip installing it."
NODE_DIR="$(realpath $(dirname $(which node))/..)"
fi
# Install vim-language-server