From 5d375f8ec530028fa2e24d8556078e11d7690751 Mon Sep 17 00:00:00 2001 From: RodneyMKay Date: Sat, 5 Jul 2025 15:12:43 +0200 Subject: [PATCH] Fix unbound variable in invalid version error Closes #406 --- lib/tfenv-version-name.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tfenv-version-name.sh b/lib/tfenv-version-name.sh index c457875..829357a 100644 --- a/lib/tfenv-version-name.sh +++ b/lib/tfenv-version-name.sh @@ -77,7 +77,7 @@ function tfenv-version-name() { TFENV_VERSION="${local_version}"; fi; else - log 'error' "No versions matching '${requested}' found in remote"; + log 'error' "No versions matching '${TFENV_VERSION}' found in remote"; fi; else if [[ -n "${local_version}" ]]; then