Skip to content

Commit

Permalink
move "skipping: data file or empty" log message to Debug
Browse files Browse the repository at this point in the history
Signed-off-by: Jason Hall <[email protected]>
  • Loading branch information
imjasonh authored Dec 10, 2024
1 parent e8647a8 commit 32f50b0
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 32f50b0

Please sign in to comment.