Skip to content

Commit fbd6bef

Browse files
tomowatttoote
andauthored
refactor: simply builder_instance_args array construction
Co-authored-by: Matías Bellone <toote@users.noreply.github.com>
1 parent 316af29 commit fbd6bef

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

hooks/pre-command

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,7 @@ fi
1919

2020
if [[ "${builder_create}" == "true" ]]; then
2121
if ! builder_instance_exists "${builder_name}"; then
22-
builder_instance_args=()
23-
24-
builder_instance_args+=(--name "${builder_name}")
22+
builder_instance_args=(--name "${builder_name}")
2523

2624
build_driver="$(plugin_read_config BUILDER_DRIVER "")"
2725
valid_drivers="docker-container|kubernetes|remote"

0 commit comments

Comments
 (0)