Просмотр исходного кода

Do not attempt to read .python-version directories (#606)

pull/131/merge
Roman Bolshakov 9 лет назад
committed by Daniel Hahler
Родитель
Сommit
01d39850b5
1 измененных файлов: 1 добавлений и 1 удалений
  1. +1
    -1
      libexec/pyenv-version-file

+ 1
- 1
libexec/pyenv-version-file Просмотреть файл

@ -9,7 +9,7 @@ target_dir="$1"
find_local_version_file() {
local root="$1"
while ! [[ "$root" =~ ^//[^/]*$ ]]; do
if [ -e "${root}/.python-version" ]; then
if [ -f "${root}/.python-version" ]; then
echo "${root}/.python-version"
return 0
fi

Загрузка…
Отмена
Сохранить