mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-05-10 14:21:50 +00:00
[Fix] debug
: correct mistaken -V
to --version
from #2922
This commit is contained in:
parent
095a4ca655
commit
924d77cc90
2
nvm.sh
2
nvm.sh
@ -2997,7 +2997,7 @@ nvm() {
|
||||
nvm_err "OS version: ${OS_VERSION}"
|
||||
fi
|
||||
if nvm_has "awk"; then
|
||||
nvm_err "awk: $(nvm_command_info awk), $({ command awk -V 2>/dev/null || command awk -W version; } \
|
||||
nvm_err "awk: $(nvm_command_info awk), $({ command awk --version 2>/dev/null || command awk -W version; } \
|
||||
| command head -n 1)"
|
||||
else
|
||||
nvm_err "awk: not found"
|
||||
|
Loading…
Reference in New Issue
Block a user