Changesets · Branches · Tags · Compare
| Changeset | a41e6541915ccfffed3b16c8866b18ea47af1a09e2534098326ddc20630bb146 |
|---|---|
| Author | Nate Sesti <33237525+sestinj@users.noreply.github.com> · 2025-08-24 18:40 -07:00 |
| Committer | GitHub <noreply@github.com> · 2025-08-24 18:40 -07:00 |
| Parents | c4ec337463d8 |
1 file changed
modified extensions/cli/src/args.ts +1 −1
| @@ -44,7 +44,7 @@ | ||
| 44 | 44 | flagName: string, |
| 45 | 45 | ): string | undefined { |
| 46 | 46 | 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("--")) { | |
| 48 | 48 | return args[index + 1]; |
| 49 | 49 | } |
| 50 | 50 | return undefined; |