Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove false value from tran version checker #11

Merged
merged 1 commit into from
Feb 12, 2022

Conversation

Timothee-Cardoso
Copy link
Contributor

should omit comparison to bool constant, can be simplified to cfg.Tran.ShowUpdates

@@ -39,7 +39,7 @@ func Check(buildVersion string) {
return ""
}

if buildVersion != latestVersion && cfg.Tran.ShowUpdates != false {
if buildVersion != latestVersion && cfg.Tran.ShowUpdates {
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤝

@abdfnx abdfnx merged commit 0234c18 into abdfnx:main Feb 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

2 participants