Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6437aea

Browse files
committed
Fix submodule check
1 parent 9b8a92e commit 6437aea

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

mypy/git.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ def verify_git_integrity_or_abort(datadir: str) -> None:
114114
Potentially output warnings/errors (to stderr), and exit with status 1
115115
if we detected a severe problem.
116116
"""
117-
117+
datadir = datadir or '.'
118118
if not is_git_repo(datadir):
119119
return
120120
if not have_git():

0 commit comments

Comments
 (0)