Remove errors if plugin executable not available

This commit is contained in:
Martin Lariz
2019-07-29 07:07:58 -07:00
parent 5ce443759f
commit 12c49bd22f
3 changed files with 3 additions and 3 deletions

View File

@@ -4,4 +4,4 @@ about-plugin 'Node.js helper functions'
pathmunge ./node_modules/.bin
# Make sure the global npm prefix is on the path
[[ `which npm` ]] && pathmunge $(npm config get prefix)/bin
[[ `which npm 2>/dev/null` ]] && pathmunge $(npm config get prefix)/bin