feat(GODT-3160): no need to ignore vulns

This commit is contained in:
Jakub
2024-01-24 10:30:30 +01:00
parent 374194c13b
commit 164fb23653
4 changed files with 2 additions and 12 deletions

View File

@ -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
}