Elffuss BraidHub

kikocis/continue public

Update extensions/cli/src/args.ts

Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
Changeseta41e6541915ccfffed3b16c8866b18ea47af1a09e2534098326ddc20630bb146
AuthorNate Sesti <33237525+sestinj@users.noreply.github.com> · 2025-08-24 18:40 -07:00
CommitterGitHub <noreply@github.com> · 2025-08-24 18:40 -07:00
Parentsc4ec337463d8

Browse the files at this changeset

1 file changed

modified extensions/cli/src/args.ts +1 −1
@@ -44,7 +44,7 @@
4444 flagName: string,
4545 ): string | undefined {
4646 const index = args.indexOf(flagName);
47- if (index !== -1 && index + 1 < args.length) {
47+ if (index !== -1 && index + 1 < args.length && !args[index + 1].startsWith("--")) {
4848 return args[index + 1];
4949 }
5050 return undefined;