Commit 0ac86de
committed
Fix commandPathFromArgs to skip flags instead of breaking
The function now continues past flags and their values rather than
breaking on the first flag, allowing it to correctly extract command
paths like 'query list' from invocations such as 'dune --api-key KEY
query list'.1 parent d21cbba commit 0ac86de
1 file changed
Lines changed: 10 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
145 | 145 | | |
146 | 146 | | |
147 | 147 | | |
| 148 | + | |
148 | 149 | | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
149 | 154 | | |
150 | | - | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
151 | 160 | | |
152 | 161 | | |
153 | 162 | | |
| |||
0 commit comments