Skip to content

Commit fbb3009

Browse files
committed
include boolean flags in final exec
1 parent d480352 commit fbb3009

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

bin/commands/interactive.mjs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,10 @@ export default async function interactive() {
145145

146146
// Handle different value types (boolean, array, string)
147147
if (typeof value === 'boolean') {
148-
if (value) cmdParts.push(flag);
148+
if (value) {
149+
cmdParts.push(flag);
150+
executionArgs.push(flag);
151+
}
149152
} else if (Array.isArray(value)) {
150153
for (const item of value) {
151154
cmdParts.push(flag, escapeShellArg(item));

0 commit comments

Comments
 (0)