Commit 76924b7f authored by Marc Cornellà's avatar Marc Cornellà
Browse files

npm: only source npm completion cache if file exists

parent 2a44527a
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
[[ $? -ne 0 ]] && rm -f $__NPM_COMPLETION_FILE [[ $? -ne 0 ]] && rm -f $__NPM_COMPLETION_FILE
fi fi
source $__NPM_COMPLETION_FILE [[ -f $__NPM_COMPLETION_FILE ]] && source $__NPM_COMPLETION_FILE
} }
# Install dependencies globally # Install dependencies globally
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment