1
0
Fork 0
mirror of https://github.com/anyproto/anytype-heart.git synced 2025-06-08 05:47:07 +09:00

GO-1825 Fix lint

This commit is contained in:
kirillston 2023-08-03 18:55:21 +02:00
parent bc33f8cb6a
commit fa13f16599
No known key found for this signature in database
GPG key ID: 88218A7F1109754B

View file

@ -10,8 +10,5 @@ import (
var signals = append(commonOSSignals, syscall.SIGUSR1)
func shouldSaveStack(signal os.Signal) bool {
if signal == syscall.SIGUSR1 {
return true
}
return false
return signal == syscall.SIGUSR1
}