Commit 51cc9d9
committed
[TE-5578] Use Fprintln for unformatted base-branch warning
The base-branch resolution warning in `autoCollectGitMetadata` calls
`fmt.Fprintf` but contains no formatting verbs, and embeds a trailing
"\n" in the format string. That is exactly the shape `Fprintln` exists
for: no verbs, implicit newline. Switch to `Fprintln` and drop the
explicit "\n".
Pure style change; no behaviour difference on stderr.
Addresses review feedback on PR #480.1 parent a780239 commit 51cc9d9
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
168 | 168 | | |
169 | 169 | | |
170 | 170 | | |
171 | | - | |
172 | | - | |
| 171 | + | |
| 172 | + | |
173 | 173 | | |
174 | 174 | | |
175 | 175 | | |
| |||
0 commit comments