Skip to content

Commit 728b7aa

Browse files
fix: remove debugging from semgrep parser
1 parent 9953904 commit 728b7aa

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [0.6.2] - 2024-05-15
9+
10+
### Changed
11+
12+
- Remove debug information from semgrep decoding
13+
814
## [0.6.1] - 2024-05-15
915

1016
### Changed

pkg/artifacts/v1/semgrep.go

-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ package artifacts
22

33
import (
44
"fmt"
5-
"log/slog"
65
"strings"
76
)
87

@@ -70,7 +69,6 @@ func (s *SemgrepResults) ShortCheckID() string {
7069
}
7170

7271
func (s *SemgrepMetadata) OwaspIDs() string {
73-
slog.Info(s.Shortlink, "type", fmt.Sprintf("%T", s.Owasp))
7472
switch v := s.Owasp.(type) {
7573
case string:
7674
return v

test/semgrep-sast-report.json

+1-1
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)