Commit 178b1d3
committed
fix: /diag behaves like a proper boolean switch
before fix, order of arguments mattered:
- unless /diag is last argument, it is ignored; and the following
argument is swalloed silently
/diag /l gv.log -> diagnostic switch is ignored, no log file is created
/l console /diag -> diagnostic output is emitted to console
/l gv.log /diag -> diagnostic output is emitted to log file1 parent 352934c commit 178b1d3
File tree
2 files changed
+2
-6
lines changed- src/GitVersion.App
2 files changed
+2
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
212 | 212 | | |
213 | 213 | | |
214 | 214 | | |
215 | | - | |
216 | | - | |
217 | | - | |
218 | | - | |
219 | | - | |
| 215 | + | |
220 | 216 | | |
221 | 217 | | |
222 | 218 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
76 | | - | |
| 76 | + | |
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
| |||
0 commit comments