lint
This commit is contained in:
parent
e9638443c6
commit
e96f5bb59c
@ -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 = str(zig).replace("/", "\\") + ".exe" if is_windows else zig,
|
||||||
zig_tool = zig_tool,
|
zig_tool = zig_tool,
|
||||||
cache_prefix = cache_prefix,
|
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:
|
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)
|
return _ZIG_TOOL_WRAPPER_WINDOWS_CACHE_KNOWN.format(**kwargs)
|
||||||
else:
|
else:
|
||||||
return _ZIG_TOOL_WRAPPER_WINDOWS_CACHE_GUESS.format(**kwargs)
|
return _ZIG_TOOL_WRAPPER_WINDOWS_CACHE_GUESS.format(**kwargs)
|
||||||
else:
|
else: # linux. Keeping this comment for buildifier to shut up.
|
||||||
if cache_prefix:
|
if cache_prefix:
|
||||||
return _ZIG_TOOL_WRAPPER_CACHE_KNOWN.format(**kwargs)
|
return _ZIG_TOOL_WRAPPER_CACHE_KNOWN.format(**kwargs)
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user