Skip to content

Commit

Permalink
Merge pull request #11 from Timothee-Cardoso/patch-1
Browse files Browse the repository at this point in the history
remove `false` value from tran version checker
  • Loading branch information
abdfnx committed Feb 12, 2022
2 parents 15f4f54 + a43c6ec commit 0234c18
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 0234c18

Please sign in to comment.