From b8986fc51673885a5fcfa6210dd2076335741af6 Mon Sep 17 00:00:00 2001 From: Lucas Pinheiro Date: Mon, 16 Oct 2023 15:55:06 -0300 Subject: [PATCH] fix warnings --- test/support/storage.go | 1 + 1 file changed, 1 insertion(+) diff --git a/test/support/storage.go b/test/support/storage.go index a283e44..cc1821f 100644 --- a/test/support/storage.go +++ b/test/support/storage.go @@ -289,6 +289,7 @@ func (m *StorageMockServer) addFile(fileName string, reader io.ReadCloser) error return err } + // #nosec newFile, err := os.Create(filePath) if err != nil { return err