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:
parent
214662484f
commit
e225cc77f7
3
moar.go
3
moar.go
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user