diff --git a/pkg/fanal/walker/fs.go b/pkg/fanal/walker/fs.go index 3e7c4db777d9..a70b9528bdbc 100644 --- a/pkg/fanal/walker/fs.go +++ b/pkg/fanal/walker/fs.go @@ -37,6 +37,7 @@ func NewFS(skipFiles, skipDirs, onlyDirs []string, parallel int, errCallback Err return FS{ walker: newWalker(skipFiles, skipDirs, onlyDirs), errCallback: errCallback, + parallel: parallel, } }