1
1
mirror of https://github.com/walles/moar.git synced 2024-11-22 21:50:43 +03:00

Fix indent-error-flow.

Signed-off-by: Lapo Luchini <lapo@lapo.it>
This commit is contained in:
Lapo Luchini 2024-09-01 18:43:51 +02:00
parent 214662484f
commit e225cc77f7
No known key found for this signature in database
GPG Key ID: AE3AE4564225519A

View File

@ -525,9 +525,8 @@ func getVersion() string {
info, ok := debug.ReadBuildInfo()
if ok {
return info.Main.Version
} else {
return "Should be set when building, please use build.sh to build"
}
return "Should be set when building, please use build.sh to build"
}
// Can return a nil pager on --help or --version, or if pumping to stdout.