Commit 48ff72b
committed
fix(complete): Deduplicate bash subcmd cases
**Problem:** Visible alias completions were causing duplicate case
conditions when offering subcommand completions, due to the fact that
they share the same function name as the command they are aliasing.
**Solution:** Deduplicate them so as to not redefine the exact same case
statement logic.1 parent b1b6f17 commit 48ff72b
File tree
2 files changed
+1
-14
lines changed- clap_complete
- src/aot/shells
- tests/snapshots
2 files changed
+1
-14
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
132 | 132 | | |
133 | 133 | | |
134 | 134 | | |
| 135 | + | |
135 | 136 | | |
136 | 137 | | |
137 | 138 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
152 | 152 | | |
153 | 153 | | |
154 | 154 | | |
155 | | - | |
156 | | - | |
157 | | - | |
158 | | - | |
159 | | - | |
160 | | - | |
161 | | - | |
162 | | - | |
163 | | - | |
164 | | - | |
165 | | - | |
166 | | - | |
167 | | - | |
168 | | - | |
169 | 155 | | |
170 | 156 | | |
171 | 157 | | |
| |||
0 commit comments