mirror of
https://github.com/tnypxl/rollup.git
synced 2025-12-15 15:03:17 +00:00
fix: Update cfg.IgnorePatterns to cfg.Ignore in cmd/root.go
This commit is contained in:
@@ -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, ",")
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user