瀏覽代碼

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

pull/131/merge
Roman Bolshakov 9 年之前
committed by Daniel Hahler
父節點
當前提交
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

Loading…
取消
儲存