From 9270771499c997f2caec4e0b6e86031863672b35 Mon Sep 17 00:00:00 2001 From: Universal Studio <10200399+TMUniversal@users.noreply.github.com> Date: Wed, 7 Aug 2024 12:40:15 +0200 Subject: [PATCH] chore(container): disable semgrep for MarshalJSON tests show it works as intended Signed-off-by: Universal Studio <10200399+TMUniversal@users.noreply.github.com> --- internal/container_file.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/container_file.go b/internal/container_file.go index 318f7c9..c645e5b 100644 --- a/internal/container_file.go +++ b/internal/container_file.go @@ -131,7 +131,7 @@ type PaperCrypt struct { Data []byte `json:"d"` } -func (p *PaperCrypt) MarshalJSON() ([]byte, error) { +func (p *PaperCrypt) MarshalJSON() ([]byte, error) { // nosemgrep type Alias PaperCrypt return json.Marshal(&struct { CreatedAt string `json:"ct"`