Skip to content

Commit

Permalink
(remove log message changes)
Browse files Browse the repository at this point in the history
  • Loading branch information
fractos committed Jul 11, 2024
1 parent b196d83 commit e7b74fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libexec/tfenv-resolve-version
Original file line number Diff line number Diff line change
Expand Up @@ -76,12 +76,12 @@ if [ -z "${arg}" -a -z "${TFENV_TERRAFORM_VERSION:-""}" ]; then
log 'debug' "Version File: ${version_file}";

if [ "${version_file}" != "${TFENV_CONFIG_DIR}/version" ]; then
log 'debug' "xxVersion File (${version_file}) is not the default \${TFENV_CONFIG_DIR}/version (${TFENV_CONFIG_DIR}/version)";
log 'debug' "Version File (${version_file}) is not the default \${TFENV_CONFIG_DIR}/version (${TFENV_CONFIG_DIR}/version)";
version_requested="$(cat "${version_file}" | tr -d '\r')" \
|| log 'error' "Failed to open ${version_file}";

elif [ -f "${version_file}" ]; then
log 'debug' "xxVersion File is the default \${TFENV_CONFIG_DIR}/version (${TFENV_CONFIG_DIR}/version)";
log 'debug' "Version File is the default \${TFENV_CONFIG_DIR}/version (${TFENV_CONFIG_DIR}/version)";
version_requested="$(cat "${version_file}" | tr -d '\r')" \
|| log 'error' "Failed to open ${version_file}";

Expand Down

0 comments on commit e7b74fe

Please sign in to comment.