Skip to content

Commit d0fbd4d

Browse files
committed
fix: 🐛 cli argv items
1 parent 1796c33 commit d0fbd4d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/cli/src/cli/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ const main = async () => {
4141
});
4242
await program.parseAsync([process.argv[0], process.argv[1], chosenCommand]);
4343
} else {
44-
await program.parseAsync(process.argv);
44+
await program.parseAsync([process.argv[0], process.argv[1], chosenCommand, ...process.argv.slice(3)]);
4545
}
4646
} catch (e) {
4747
handleError(e);

0 commit comments

Comments
 (0)