mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-01-15 13:30:17 -06:00
Add cygwin check after initialization. Resolves #437
This commit is contained in:
@@ -152,8 +152,8 @@ def main(argv=None):
|
||||
|
||||
with error_handler():
|
||||
add_logging_handler(args.color)
|
||||
git.check_for_cygwin_mismatch()
|
||||
runner = Runner.create()
|
||||
git.check_for_cygwin_mismatch()
|
||||
|
||||
if args.command == 'install':
|
||||
return install(
|
||||
|
||||
Reference in New Issue
Block a user