Skip to content

Commit f035599

Browse files
committed
Fix scanner stats
1 parent 7c4dd04 commit f035599

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scanner.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ func runScanner(clictx *cli.Context) error {
4848
// Count and print the number of files to be indexed
4949
go func() {
5050
tnow := time.Now()
51-
fileCount := <-FileCounter(rootDir).Chan
51+
fileCount = <-FileCounter(rootDir).Chan
5252
elapsed := time.Since(tnow)
5353
log.Printf("Counted %d files in %s\n", fileCount, elapsed)
5454
}()

0 commit comments

Comments
 (0)