Changesets · Branches · Tags · Compare
| Changeset | 57d99ced5e240c55705a623882c696cbea383b9afc00fdecccd378253ff3eeec |
|---|---|
| Author | Nate <sestinj@gmail.com> · 2025-08-24 18:51 -07:00 |
| Committer | Nate <sestinj@gmail.com> · 2025-08-24 18:51 -07:00 |
| Parents | 60acd6c5ca13, a41e6541915c |
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; |