Skip to content

Commit 0ea0348

Browse files
committed
fix: tuple extend
1 parent 65a3ee3 commit 0ea0348

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/python/pants/backend/docker/goals/package_image.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -423,10 +423,10 @@ def get_build_options(
423423
)
424424

425425
if target_stage:
426-
extra_options.extend(("--target", target_stage))
426+
extra_options = extra_options + ("--target", target_stage)
427427

428428
if global_build_no_cache_option:
429-
extra_options.extend("--no-cache")
429+
extra_options = extra_options + ("--no-cache",)
430430

431431
# Append extra options last so that they take precedence over the structured fields above.
432432
yield from extra_options

0 commit comments

Comments
 (0)