Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent af685f9 commit 4c116cbCopy full SHA for 4c116cb
1 file changed
Tools/scripts/patchcheck.py
@@ -70,7 +70,7 @@ def get_git_upstream_remote():
70
@status("Getting base branch for PR",
71
info=lambda x: x if x is not None else "not a PR branch")
72
def get_base_branch():
73
- if not os.path.isdir(os.path.join(SRCDIR, '.git')):
+ if not os.path.exists(os.path.join(SRCDIR, '.git')):
74
# Not a git checkout, so there's no base branch
75
return None
76
version = sys.version_info
0 commit comments