plugin/discovery: staticcheck
This commit is contained in:
parent
3deeb94aac
commit
b5e5adda01
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue