plugin/discovery: staticcheck
This commit is contained in:
parent
3deeb94aac
commit
b5e5adda01
|
@ -118,7 +118,7 @@ func (s PluginMetaSet) Newest() PluginMeta {
|
||||||
panic(err)
|
panic(err)
|
||||||
}
|
}
|
||||||
|
|
||||||
if first == true || version.NewerThan(winnerVersion) {
|
if first || version.NewerThan(winnerVersion) {
|
||||||
winner = p
|
winner = p
|
||||||
winnerVersion = version
|
winnerVersion = version
|
||||||
first = false
|
first = false
|
||||||
|
|
Loading…
Reference in New Issue