Skip to content

Commit

Permalink
move "skipping: data file or empty" log message to Debug (chainguard-…
Browse files Browse the repository at this point in the history
…dev#692)

Signed-off-by: Jason Hall <[email protected]>
  • Loading branch information
imjasonh authored Dec 10, 2024
1 parent e8647a8 commit a84de3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/action/scan.go
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ func scanSinglePath(ctx context.Context, c malcontent.Config, path string, ruleF
mime = kind.MIME
}
if !c.IncludeDataFiles && kind == nil {
logger.Infof("skipping %s [%s]: data file or empty", path, mime)
logger.Debugf("skipping %s [%s]: data file or empty", path, mime)
return &malcontent.FileReport{Skipped: "data file or empty", Path: path}, nil
}
logger = logger.With("mime", mime)
Expand Down

0 comments on commit a84de3a

Please sign in to comment.