Commit 0561896
Fix warning about unknown project type
Result.or() gets executed even when the value is Result::Ok, which
causes the warning about "Unknown project type" to show even though the
project directory was successfully found. It also unnecessarily
traverses the directory tree in search for VCS files.1 parent 23a8093 commit 0561896
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| |||
0 commit comments