Skip to content

Commit

Permalink
hash > command -v
Browse files Browse the repository at this point in the history
  • Loading branch information
paulirish committed May 7, 2015
1 parent 86442d5 commit 954d901
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion github-email.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ curl "https://api.github.com/users/$user" -s \


log 'Email on npm'
if [ command -v get-email-address-from-npm-username >/dev/null 2>&1 ]; then
if [ hash get-email-address-from-npm-username >/dev/null 2>&1 ]; then
npm install get-email-address-from-npm-username --global
fi
get-email-address-from-npm-username $user
Expand Down

0 comments on commit 954d901

Please sign in to comment.