浏览代码

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

pull/131/merge
Roman Bolshakov 9 年前
提交者 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

正在加载...
取消
保存