Use allowlist (#411)

This commit is contained in:
Zachary Rice authored and GitHub committed 2020-07-24 11:58:43 -04:00
1 parent fe69a17c9c
commit 94f5950d68
21 files changed
+111 -111

No files matched your search

+2 -2
View File
@@ -76,8 +76,8 @@ func Run(m *manager.Manager) error {
}
func runHelper(r *Repo) error {
// Ignore whitelisted repos
for _, wlRepo := range r.Manager.Config.Whitelist.Repos {
// Ignore allowlisted repos
for _, wlRepo := range r.Manager.Config.Allowlist.Repos {
if RegexMatched(r.Manager.Opts.RepoPath, wlRepo) {
return nil
}