-
-
Notifications
You must be signed in to change notification settings - Fork 243
Open
Description
Lines 51 to 56 in bf91f94
| if (id === "@") { | |
| return shellQuote.quote(args) | |
| } | |
| if (id === "*") { | |
| return shellQuote.quote([args.join(" ")]) | |
| } |
If we have a variable expansion with @ or *, we are expanding it unconditionally to the provided args, also if they are empty (no elements array or empty string, respectively), while in that case POSIX variable expansion take the provided default values, if any.
Metadata
Metadata
Assignees
Labels
No labels