Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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

  • Loading branch information...
commit 2b36c0ffb57704fae0a985689c2618a08de4fd6f 1 parent 955f971
Artem Sapegin sapegin authored

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. +2 2 pull
4 pull
@@ -37,13 +37,13 @@ fi
37 37 git remote prune $remote >/dev/null 2>&1 &
38 38
39 39 # Bundle em if you got em!
40   -if which bundle >/dev/null && [ -f Gemfile ]; then
  40 +if which bundle >/dev/null 2>&1 && [ -f Gemfile ]; then
41 41 echo "* Bundling gems..."
42 42 bundle check >/dev/null 2>&1 || bundle install
43 43 fi
44 44
45 45 # Install node.js/npm packages
46   -if which npm >/dev/null && [ -f package.json ]; then
  46 +if which npm >/dev/null 2>&1 && [ -f package.json ]; then
47 47 echo "* Installing npm packages..."
48 48 npm install
49 49 fi

0 comments on commit 2b36c0f

Please sign in to comment.
Something went wrong with that request. Please try again.