Closed MaxMcAdam closed 1 year ago
file.Close() can return an error. This error should be checked even when the close is deferred.
See https://github.com/securego/gosec/issues/512#issuecomment-675286833 for a potential way to fix this.
file.Close() can return an error. This error should be checked even when the close is deferred.