Skip to content

Empty string incorrectly not quoted in an array #999

Description

@innermatrix
import {$} from 'zx';
$.verbose = true;
await $`echo ${[1, '', '*', '2']}`

Output:

$ echo 1  $'*' 2

Expected

$ echo 1 $'' $'*' 2

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions