Skip to content

Commit

Permalink
remove false from tran version checker
Browse files Browse the repository at this point in the history
  • Loading branch information
Timothee-Cardoso authored Feb 12, 2022
1 parent 15f4f54 commit a43c6ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/checker/checker.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ func Check(buildVersion string) {
return ""
}

if buildVersion != latestVersion && cfg.Tran.ShowUpdates != false {
if buildVersion != latestVersion && cfg.Tran.ShowUpdates {
fmt.Fprintf(stderr, "%s %s → %s\n",
ansi.Color("There's a new version of ", "yellow") + ansi.Color("tran", "cyan") + ansi.Color(" is avalaible:", "yellow"),
ansi.Color(buildVersion, "cyan"),
Expand Down

0 comments on commit a43c6ec

Please # to comment.