Replace last which command with command -v #126

Merged
merged 1 commit into from Jun 4, 2014

2 participants

@hstkk

No description provided.

@tjwebb tjwebb commented on the diff May 26, 2014
@@ -126,7 +126,7 @@ display_n_version() {
#
check_current_version() {
- which node &> /dev/null
+ command -v node &> /dev/null
@tjwebb
Collaborator
tjwebb added a line comment May 26, 2014

For reference, can you comment on the specific purpose and benefit of this? Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
@tjwebb tjwebb merged commit 69c16e4 into tj:master Jun 4, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment