plugin/discovery: staticcheck

This commit is contained in:
James Bardin 2020-12-01 16:05:30 -05:00
parent 3deeb94aac
commit b5e5adda01
1 changed files with 1 additions and 1 deletions

View File

@ -118,7 +118,7 @@ func (s PluginMetaSet) Newest() PluginMeta {
panic(err)
}
if first == true || version.NewerThan(winnerVersion) {
if first || version.NewerThan(winnerVersion) {
winner = p
winnerVersion = version
first = false