Fix typo (#1931)
This commit is contained in:
parent
b55fb821e7
commit
e8aadedd97
@ -21,7 +21,7 @@
|
|||||||
|
|
||||||
WINDOWS = system() == "Windows"
|
WINDOWS = system() == "Windows"
|
||||||
BLACK_BINARY = "black.exe" if WINDOWS else "black"
|
BLACK_BINARY = "black.exe" if WINDOWS else "black"
|
||||||
GIT_BIANRY = "git.exe" if WINDOWS else "git"
|
GIT_BINARY = "git.exe" if WINDOWS else "git"
|
||||||
LOG = logging.getLogger(__name__)
|
LOG = logging.getLogger(__name__)
|
||||||
|
|
||||||
|
|
||||||
@ -160,7 +160,7 @@ async def git_checkout_or_rebase(
|
|||||||
depth: int = 1,
|
depth: int = 1,
|
||||||
) -> Optional[Path]:
|
) -> Optional[Path]:
|
||||||
"""git Clone project or rebase"""
|
"""git Clone project or rebase"""
|
||||||
git_bin = str(which(GIT_BIANRY))
|
git_bin = str(which(GIT_BINARY))
|
||||||
if not git_bin:
|
if not git_bin:
|
||||||
LOG.error("No git binary found")
|
LOG.error("No git binary found")
|
||||||
return None
|
return None
|
||||||
|
Loading…
Reference in New Issue
Block a user