Skip to content

Commit 2055796

Browse files
go fmt
1 parent 917260b commit 2055796

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

files.go

+4-4
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ func scrapeFiles(c chan<- *ProcessItem) {
2424
batchSize := 0
2525

2626
switch {
27-
case len(files) < conf.FileBatchSize:
28-
batchSize = len(files)
29-
default:
30-
batchSize = conf.FileBatchSize
27+
case len(files) < conf.FileBatchSize:
28+
batchSize = len(files)
29+
default:
30+
batchSize = conf.FileBatchSize
3131
}
3232

3333
for _, file := range files[:batchSize] {

0 commit comments

Comments
 (0)