From: Emilv2 Date: Fri, 15 Jan 2021 22:43:23 +0000 (+0100) Subject: Fix typo (#1931) X-Git-Url: https://git.madduck.net/etc/vim.git/commitdiff_plain/e8aadedd970140a840e8120bd36e8df52cc26ed2 Fix typo (#1931) --- diff --git a/src/black_primer/lib.py b/src/black_primer/lib.py index 5c5576e..c306981 100644 --- a/src/black_primer/lib.py +++ b/src/black_primer/lib.py @@ -21,7 +21,7 @@ import click WINDOWS = system() == "Windows" 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__) @@ -160,7 +160,7 @@ async def git_checkout_or_rebase( depth: int = 1, ) -> Optional[Path]: """git Clone project or rebase""" - git_bin = str(which(GIT_BIANRY)) + git_bin = str(which(GIT_BINARY)) if not git_bin: LOG.error("No git binary found") return None