From e96f5bb59cadec0ebf22350a77c288aa34d9da4a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= Date: Sat, 1 Oct 2022 05:31:50 +0300 Subject: [PATCH] lint --- toolchain/defs.bzl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/toolchain/defs.bzl b/toolchain/defs.bzl index ce06622..baa26f5 100644 --- a/toolchain/defs.bzl +++ b/toolchain/defs.bzl @@ -178,7 +178,7 @@ def _zig_tool_wrapper(zig_tool, zig, is_windows, cache_prefix): zig = str(zig).replace("/", "\\") + ".exe" if is_windows else zig, zig_tool = zig_tool, cache_prefix = cache_prefix, - common = "" if is_windows else _ZIG_TOOL_COMMON_UNIX + common = "" if is_windows else _ZIG_TOOL_COMMON_UNIX, ) if is_windows: @@ -186,7 +186,7 @@ def _zig_tool_wrapper(zig_tool, zig, is_windows, cache_prefix): return _ZIG_TOOL_WRAPPER_WINDOWS_CACHE_KNOWN.format(**kwargs) else: return _ZIG_TOOL_WRAPPER_WINDOWS_CACHE_GUESS.format(**kwargs) - else: + else: # linux. Keeping this comment for buildifier to shut up. if cache_prefix: return _ZIG_TOOL_WRAPPER_CACHE_KNOWN.format(**kwargs) else: