add omit md

This commit is contained in:
2026-08-27 14:42:00 +01:00
parent 2bbbf4e81e
commit a2afce3f8d
4 changed files with 22 additions and 1 deletions
+2 -1
View File
@@ -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}