Skip to content

Commit

Permalink
chore(container): disable semgrep for MarshalJSON
Browse files Browse the repository at this point in the history
tests show it works as intended

Signed-off-by: Universal Studio <[email protected]>
  • Loading branch information
TMUniversal committed Aug 7, 2024
1 parent 2c39c35 commit 9270771
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/container_file.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"`
Expand Down

0 comments on commit 9270771

Please sign in to comment.