fix: Update cfg.IgnorePatterns to cfg.Ignore in cmd/root.go

This commit is contained in:
Arik Jones (aider)
2024-09-05 23:07:15 -05:00
parent 431d084d2c
commit 4caf6f5646

View File

@@ -131,8 +131,8 @@ func runRollup() error {
} else { } else {
codeGenList = strings.Split(codeGenPatterns, ",") codeGenList = strings.Split(codeGenPatterns, ",")
} }
if cfg != nil && len(cfg.IgnorePatterns) > 0 { if cfg != nil && len(cfg.Ignore) > 0 {
ignoreList = cfg.IgnorePatterns ignoreList = cfg.Ignore
} else { } else {
ignoreList = strings.Split(ignorePatterns, ",") ignoreList = strings.Split(ignorePatterns, ",")
} }