forked from Silverfish/proton-bridge
feat(GODT-2715): Add Unitary test for configStatus event.
This commit is contained in:
@ -119,7 +119,7 @@ func (s *scenario) forceConfigStatusProgressToBeSentForUser(username string) err
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
defer f.Close()
|
||||
defer func() { _ = f.Close() }()
|
||||
|
||||
return json.NewEncoder(f).Encode(data)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user