Skip to content

Commit

Permalink
fix(misconf): Remove debug print while scanning (#4521)
Browse files Browse the repository at this point in the history
Signed-off-by: Simar <simar@linux.com>
  • Loading branch information
simar7 authored Jun 1, 2023
1 parent b6ee08e commit c15f269
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions pkg/misconf/scanner.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import (
"fmt"
"io"
"io/fs"
"os"
"path/filepath"
"sort"
"strings"
Expand Down Expand Up @@ -199,7 +198,6 @@ func scannerOptions(t detection.FileType, opt ScannerOption) ([]options.ScannerO
opts := []options.ScannerOption{
options.ScannerWithSkipRequiredCheck(true),
options.ScannerWithEmbeddedPolicies(!opt.DisableEmbeddedPolicies),
options.ScannerWithDebug(os.Stdout),
}

policyFS, policyPaths, err := createPolicyFS(opt.PolicyPaths)
Expand Down

0 comments on commit c15f269

Please sign in to comment.