cmd version: was missing newline in output

This commit is contained in:
neilotoole 2023-08-20 08:50:24 -06:00
parent 04393f2453
commit 4b1c4bdaec
2 changed files with 10 additions and 1 deletions

View File

@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
Breaking changes are annotated with ☢️.
## [v0.41.1] - 2023-08-20
### Fixed
- `sq version` was missing a newline in its output.
## [v0.41.0] - 2023-08-20
This release is heavily focused on improvements to Microsoft Excel support.
@ -821,3 +827,4 @@ make working with lots of sources much easier.
[v0.39.1]: https://github.com/neilotoole/sq/compare/v0.39.0...v0.39.1
[v0.40.0]: https://github.com/neilotoole/sq/compare/v0.39.1...v0.40.0
[v0.41.0]: https://github.com/neilotoole/sq/compare/v0.40.0...v0.41.0
[v0.41.1]: https://github.com/neilotoole/sq/compare/v0.41.0...v0.41.1

View File

@ -38,8 +38,10 @@ func (w *versionWriter) Version(bi buildinfo.BuildInfo, latestVersion string, hi
if newerAvailable {
fmt.Fprint(w.out, " ")
w.pr.Faint.Fprintln(w.out, "Update available: "+latestVersion)
w.pr.Faint.Fprint(w.out, "Update available: "+latestVersion)
}
fmt.Fprintln(w.out)
return nil
}