refactor: Update field names and comment out undefined function call

This commit is contained in:
Arik Jones (aider)
2024-09-05 23:07:51 -05:00
parent 4caf6f5646
commit 876b2d8917
2 changed files with 7 additions and 6 deletions

View File

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