Commit eb6cd02
committed
diagnose: avoid poluting stderr stream in Git diagnostic
Avoid poluting the standard error stream with a 'fatal' Git error
message during the Git diagnostic run as part of the `diagnose` command.
When checking if we are inside of a Git repo we should be using an
explicit check for `IGit::IsInsideRepository` rather than trying to get
the current repo path and checking for null.1 parent 47d2e56 commit eb6cd02
File tree
1 file changed
+9
-2
lines changed1 file changed
+9
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
23 | 31 | | |
24 | | - | |
25 | 32 | | |
26 | 33 | | |
27 | 34 | | |
| |||
0 commit comments