Skip to content

Commit

Permalink
wrap debug for easier reading
Browse files Browse the repository at this point in the history
  • Loading branch information
boyter committed May 2, 2024
1 parent c67ed09 commit c23a0b4
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions processor/processor.go
Original file line number Diff line number Diff line change
Expand Up @@ -573,9 +573,11 @@ func Process() {

SortBy = strings.ToLower(SortBy)

printDebug(fmt.Sprintf("NumCPU: %d", runtime.NumCPU()))
printDebug(fmt.Sprintf("SortBy: %s", SortBy))
printDebug(fmt.Sprintf("PathDenyList: %v", PathDenyList))
if Debug {
printDebug(fmt.Sprintf("NumCPU: %d", runtime.NumCPU()))
printDebug(fmt.Sprintf("SortBy: %s", SortBy))
printDebug(fmt.Sprintf("PathDenyList: %v", PathDenyList))
}

potentialFilesQueue := make(chan *gocodewalker.File, FileListQueueSize) // files that pass the .gitignore checks
fileListQueue := make(chan *FileJob, FileListQueueSize) // Files ready to be read from disk
Expand Down

0 comments on commit c23a0b4

Please sign in to comment.