Skip to content

Commit

Permalink
cmd version: was missing newline in output
Browse files Browse the repository at this point in the history
  • Loading branch information
neilotoole committed Aug 20, 2023
1 parent 04393f2 commit 4b1c4bd
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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
4 changes: 3 additions & 1 deletion cli/output/tablew/versionwriter.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit 4b1c4bd

Please sign in to comment.