summaryrefslogtreecommitdiffstats
path: root/pre_commit/languages/docker_image.py
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--pre_commit/languages/docker_image.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pre_commit/languages/docker_image.py b/pre_commit/languages/docker_image.py
index a1a2c16..60caa10 100644
--- a/pre_commit/languages/docker_image.py
+++ b/pre_commit/languages/docker_image.py
@@ -23,7 +23,7 @@ def run_hook(
require_serial: bool,
color: bool,
) -> tuple[int, bytes]: # pragma: win32 no cover
- cmd = docker_cmd() + lang_base.hook_cmd(entry, args)
+ cmd = docker_cmd(color=color) + lang_base.hook_cmd(entry, args)
return lang_base.run_xargs(
cmd,
file_args,