Commit 8a7770c
committed
fix:
Sometimes `version` and `completions` subcommands are to run in a
directory that is not necessarily a Cargo project, for example, an IDE
plugin to check if `cargo-mutants` is installed or a shell script to
install completion for a dev env setup.
This commit allows both subcommands run inside a non Cargo project
directory.version and completions cmd in non cargo directory1 parent bdea66e commit 8a7770c
1 file changed
Lines changed: 9 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
187 | 187 | | |
188 | 188 | | |
189 | 189 | | |
190 | | - | |
191 | | - | |
192 | | - | |
| 190 | + | |
193 | 191 | | |
194 | 192 | | |
| 193 | + | |
195 | 194 | | |
196 | 195 | | |
197 | | - | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
198 | 203 | | |
199 | 204 | | |
200 | 205 | | |
| |||
0 commit comments