Skip to content

Commit 3bed6da

Browse files
authored
Apply suggestions from code review
1 parent 77e2c73 commit 3bed6da

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

chartpress.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,8 @@ def build_image(
377377
cmd.append("--push")
378378
elif len(platforms) <= 1:
379379
cmd.append("--load")
380-
cmd.extend((extra_build_command_options or []))
380+
if extra_build_command_options:
381+
cmd.extend(extra_build_command_options)
381382
_check_call(cmd)
382383

383384
if builder == Builder.DOCKER_BUILD and push:

0 commit comments

Comments
 (0)