add omit md
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
// internal/walker/walker.go
|
||||
package walker
|
||||
|
||||
import (
|
||||
@@ -47,6 +46,7 @@ func processSingleFile(cfg *config.Config) (*Result, error) {
|
||||
Ignores: cfg.Ignores,
|
||||
OmitTest: cfg.OmitTest,
|
||||
FrontendOnly: cfg.FrontendOnly,
|
||||
OmitMd: cfg.OmitMd,
|
||||
}
|
||||
|
||||
if flt.ShouldSkipFile(cfg.AbsRoot, filepath.Base(cfg.AbsRoot), info) {
|
||||
@@ -68,6 +68,7 @@ func walkDirectory(cfg *config.Config) (*Result, error) {
|
||||
Ignores: cfg.Ignores,
|
||||
OmitTest: cfg.OmitTest,
|
||||
FrontendOnly: cfg.FrontendOnly,
|
||||
OmitMd: cfg.OmitMd,
|
||||
}
|
||||
|
||||
result := &Result{AbsRoot: cfg.AbsRoot, OmitTest: cfg.OmitTest}
|
||||
|
||||
Reference in New Issue
Block a user