X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/e6934fd8d9d749d8bab4e880d1e3f1f27537c2c1..ea03b6c5e1f96aa2569f0080a61577b368b7af0d:/src/black_primer/lib.py diff --git a/src/black_primer/lib.py b/src/black_primer/lib.py index 913f9d5..afeb072 100644 --- a/src/black_primer/lib.py +++ b/src/black_primer/lib.py @@ -131,6 +131,10 @@ async def black_run( else: results.stats["success"] += 1 return + elif cpe.returncode > 1: + results.stats["failed"] += 1 + results.failed_projects[repo_path.name] = cpe + return LOG.error(f"Unknown error with {repo_path}") raise