mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-18 09:53:48 +00:00
cmd/utils: remove redundant clause in if condition
This commit is contained in:
parent
89be5f76f8
commit
d04a0c23b0
1 changed files with 1 additions and 1 deletions
|
|
@ -96,7 +96,7 @@ func NewApp(gitCommit, usage string) *cli.App {
|
||||||
//app.Authors = nil
|
//app.Authors = nil
|
||||||
app.Email = ""
|
app.Email = ""
|
||||||
app.Version = params.Version
|
app.Version = params.Version
|
||||||
if gitCommit != "" && len(gitCommit) >= 8 {
|
if len(gitCommit) >= 8 {
|
||||||
app.Version += "-" + gitCommit[:8]
|
app.Version += "-" + gitCommit[:8]
|
||||||
}
|
}
|
||||||
app.Usage = usage
|
app.Usage = usage
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue