mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-05-01 12:49:11 -05:00
pre-commit migrate-config should not return nonzero when successful
This commit is contained in:
@@ -104,8 +104,8 @@ def _write_new_config_file(path, output):
|
||||
|
||||
def autoupdate(runner, tags_only):
|
||||
"""Auto-update the pre-commit config to the latest versions of repos."""
|
||||
migrate_config(runner, quiet=True)
|
||||
retv = 0
|
||||
retv |= migrate_config(runner, quiet=True)
|
||||
output_repos = []
|
||||
changed = False
|
||||
|
||||
|
||||
Reference in New Issue
Block a user