We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eba18ed commit bd28f94Copy full SHA for bd28f94
1 file changed
python/private/common.bzl
@@ -539,7 +539,6 @@ def actions_run(
539
540
tools = kwargs.pop("tools", None)
541
tools = list(tools) if tools else []
542
- arguments = kwargs.pop("arguments", [])
543
544
action_arguments = []
545
action_env = {
@@ -596,7 +595,9 @@ def actions_run(
596
595
597
# Give precedence to caller's env.
598
action_env.update(kwargs.pop("env", None) or {})
599
- action_arguments.extend(arguments)
+
+ # Handle arguments=None
600
+ action_arguments.extend(list(kwargs.pop("arguments", None) or []))
601
602
ctx.actions.run(
603
executable = action_exe,
0 commit comments