Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Do not show error when bundle or npm is not istalled.

  • Loading branch information...
commit 2b36c0ffb57704fae0a985689c2618a08de4fd6f 1 parent 955f971
@sapegin sapegin authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 pull
View
4 pull
@@ -37,13 +37,13 @@ fi
git remote prune $remote >/dev/null 2>&1 &
# Bundle em if you got em!
-if which bundle >/dev/null && [ -f Gemfile ]; then
+if which bundle >/dev/null 2>&1 && [ -f Gemfile ]; then
echo "* Bundling gems..."
bundle check >/dev/null 2>&1 || bundle install
fi
# Install node.js/npm packages
-if which npm >/dev/null && [ -f package.json ]; then
+if which npm >/dev/null 2>&1 && [ -f package.json ]; then
echo "* Installing npm packages..."
npm install
fi
Please sign in to comment.
Something went wrong with that request. Please try again.