[bazel] Fix argument passing in bitstream splicing rule
Signed-off-by: Miles Dai <milesdai@google.com>
diff --git a/rules/splice.bzl b/rules/splice.bzl
index 7245727..1a6d7c1 100644
--- a/rules/splice.bzl
+++ b/rules/splice.bzl
@@ -18,7 +18,7 @@
arguments = [
ctx.file.data.path,
update.path,
- ] + ["--swap-nibbles"] if ctx.attr.swap_nybbles else [],
+ ] + (["--swap-nibbles"] if ctx.attr.swap_nybbles else []),
executable = ctx.executable._tool,
use_default_shell_env = True,
execution_requirements = {