mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2025-12-10 04:36:43 +00:00
feat(GODT-3160): no need to ignore vulns
This commit is contained in:
@ -69,7 +69,7 @@ func awaitType[T events.Event](c *eventCollector, ofType T, timeout time.Duratio
|
||||
return *new(T), false //nolint:gocritic
|
||||
}
|
||||
|
||||
if eventT, ok := event.(T); !ok {
|
||||
if eventT, ok := event.(T); ok {
|
||||
return eventT, true
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user