chore: add log stmt based on MR feedback

pull/2142/head
Matthew Adams 2022-05-19 07:25:36 -05:00
parent 06b4b014cf
commit 5913d222c5
1 changed files with 3 additions and 0 deletions

View File

@ -412,6 +412,9 @@ function node_native_version_prompt() {
function node_version_prompt() {
NODE_VERSION_STRATEGY="${NODE_VERSION_STRATEGY:-nvm}"
_log_debug "node: using version strategy '$NODE_VERSION_STRATEGY'"
if [ "$NODE_VERSION_STRATEGY" == "nvm" ]; then
nvm_version_prompt
elif [ "$NODE_VERSION_STRATEGY" == "node" ]; then