Skip to content

Commit

Permalink
Merge pull request #22 from akiva/akiva-patch-silent-which-noise
Browse files Browse the repository at this point in the history
Silence noise from `which` test commands output
  • Loading branch information
3rd-Eden committed Feb 24, 2015
2 parents d60c708 + d306234 commit 8c4a0f4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions hook
@@ -1,8 +1,8 @@
#!/bin/bash

NODE=`which node`
NODEJS=`which nodejs`
IOJS=`which iojs`
NODE=`which node 2> /dev/null`
NODEJS=`which nodejs 2> /dev/null`
IOJS=`which iojs 2> /dev/null`
LOCAL="/usr/local/bin/node"

if [[ -n $NODE ]]; then
Expand Down

0 comments on commit 8c4a0f4

Please sign in to comment.