From 86a4423bbb8ba5ed8db0f998376eead288050322 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C5=82?= <23004737+rafrafek@users.noreply.github.com> Date: Wed, 15 Feb 2023 22:10:36 +0100 Subject: [PATCH] Fix indentation (#2620) --- libexec/pyenv-versions | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/libexec/pyenv-versions b/libexec/pyenv-versions index 85f44085..bf87e7cf 100755 --- a/libexec/pyenv-versions +++ b/libexec/pyenv-versions @@ -157,12 +157,12 @@ for path in "${versions_dir_entries[@]}"; do print_version "${path##*/}" "$path" # virtual environments created by anaconda/miniconda/pyenv-virtualenv if [[ -z $skip_envs ]]; then - for env_path in "${path}/envs/"*; do - if [ -d "${env_path}" ]; then - print_version "${env_path#${PYENV_ROOT}/versions/}" "${env_path}" - fi - done - fi + for env_path in "${path}/envs/"*; do + if [ -d "${env_path}" ]; then + print_version "${env_path#${PYENV_ROOT}/versions/}" "${env_path}" + fi + done + fi fi done shopt -u dotglob nullglob