summaryrefslogtreecommitdiffstats
path: root/pre_commit/commands
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 18:05:33 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 18:05:33 +0000
commitc217c693b3fbf022f3a5be956df74f7c360d29d9 (patch)
tree62834394b35a0971aed41cd426d0a2a0f114a921 /pre_commit/commands
parentReleasing progress-linux version 3.6.2-1~progress7.99u1. (diff)
downloadpre-commit-c217c693b3fbf022f3a5be956df74f7c360d29d9.tar.xz
pre-commit-c217c693b3fbf022f3a5be956df74f7c360d29d9.zip
Merging upstream version 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: