Inverse if condition

This commit is contained in:
Kallum Jones 2022-08-09 18:46:55 +01:00
parent 66842d940d
commit 5aa9cca6c2
No known key found for this signature in database
GPG Key ID: D7F4589C4D7F81A9
1 changed files with 1 additions and 1 deletions

View File

@ -64,7 +64,7 @@ npm install --save
npm install -g @vercel/ncc
npx tsc
if [[ -v $NVM_DIR ]]
if [[ ! -v $NVM_DIR ]]
then
ln -s "$NVM_DIR/versions/node/$NODE_VERSION_STR/bin/ncc" "/usr/local/bin/ncc"
fi