summaryrefslogtreecommitdiffstats
path: root/pre_commit/commands
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-08 08:09:11 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-08 08:09:11 +0000
commit7ac9b3f71ebacf2b35230a49f188a173127b3bdb (patch)
tree67ea3d6333c516cc6d972345c9948a572606752f /pre_commit/commands
parentAdding upstream version 3.6.2. (diff)
downloadpre-commit-7ac9b3f71ebacf2b35230a49f188a173127b3bdb.tar.xz
pre-commit-7ac9b3f71ebacf2b35230a49f188a173127b3bdb.zip
Adding upstream version 3.7.0.upstream/3.7.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'pre_commit/commands')
-rw-r--r--pre_commit/commands/run.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pre_commit/commands/run.py b/pre_commit/commands/run.py
index 076f16d..2a08dff 100644
--- a/pre_commit/commands/run.py
+++ b/pre_commit/commands/run.py
@@ -298,7 +298,7 @@ def _run_hooks(
verbose=args.verbose, use_color=args.color,
)
retval |= current_retval
- if retval and (config['fail_fast'] or hook.fail_fast):
+ if current_retval and (config['fail_fast'] or hook.fail_fast):
break
if retval and args.show_diff_on_failure and prior_diff:
if args.all_files: