Selaa lähdekoodia

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

pull/131/merge
Roman Bolshakov 9 vuotta sitten
committed by Daniel Hahler
vanhempi
commit
01d39850b5
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. +1
    -1
      libexec/pyenv-version-file

+ 1
- 1
libexec/pyenv-version-file Näytä tiedosto

@ -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

Ladataan…
Peruuta
Tallenna