File tree 1 file changed +7
-1
lines changed
1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -2996,6 +2996,12 @@ nvm() {
2996
2996
if [ -n " ${OS_VERSION} " ]; then
2997
2997
nvm_err " OS version: ${OS_VERSION} "
2998
2998
fi
2999
+ if nvm_has " awk" ; then
3000
+ nvm_err " awk: $( nvm_command_info awk) , $( { command awk -V 2> /dev/null || command awk -W version; } \
3001
+ | command head -n 1) "
3002
+ else
3003
+ nvm_err " awk: not found"
3004
+ fi
2999
3005
if nvm_has " curl" ; then
3000
3006
nvm_err " curl: $( nvm_command_info curl) , $( command curl -V | command head -n 1) "
3001
3007
else
@@ -3008,7 +3014,7 @@ nvm() {
3008
3014
fi
3009
3015
3010
3016
local TEST_TOOLS ADD_TEST_TOOLS
3011
- TEST_TOOLS=" git grep awk "
3017
+ TEST_TOOLS=" git grep"
3012
3018
ADD_TEST_TOOLS=" sed cut basename rm mkdir xargs"
3013
3019
if [ " darwin" != " $( nvm_get_os) " ] && [ " freebsd" != " $( nvm_get_os) " ]; then
3014
3020
TEST_TOOLS=" ${TEST_TOOLS} ${ADD_TEST_TOOLS} "
You can’t perform that action at this time.
0 commit comments