Skip to content

remove false value from tran version checker#11

Merged
abdfnx merged 1 commit into
abdfnx:mainfrom
Timothee-Cardoso:patch-1
Feb 12, 2022
Merged

remove false value from tran version checker#11
abdfnx merged 1 commit into
abdfnx:mainfrom
Timothee-Cardoso:patch-1

Conversation

@Timothee-Cardoso

Copy link
Copy Markdown
Contributor

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

Comment thread app/checker/checker.go
}

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

Copy link
Copy Markdown
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

No open projects
Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants