summaryrefslogtreecommitdiff
path: root/whitelist.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-11-13 17:23:33 -0600
committerJeff Carr <[email protected]>2024-11-13 17:23:33 -0600
commitfcd132c109ed4f1ecf4348a6fdc85092973fbb97 (patch)
tree72791ca0ff59f39880576cb35c89b13f1b3b7f98 /whitelist.go
parent250a96c49f0d4d56362be4aa02f74b6b63b4495a (diff)
code cleanup
Diffstat (limited to 'whitelist.go')
-rw-r--r--whitelist.go9
1 files changed, 5 insertions, 4 deletions
diff --git a/whitelist.go b/whitelist.go
index 502e007..d8c6c77 100644
--- a/whitelist.go
+++ b/whitelist.go
@@ -11,7 +11,8 @@ func initWhitelist() {
me.release.whitelist = make(map[string]*repolist.RepoRow)
for _, repo := range me.repos.View.AllRepos() {
if strings.HasPrefix(repo.GoPath(), "go.wit.com/dev/davecgh") {
- me.release.whitelist[repo.GoPath()] = repo
+ repo.Status.Whitelist = true
+ // me.release.whitelist[repo.GoPath()] = repo
}
//
// if repo.String() == "go.wit.com/apps/guireleaser" {
@@ -27,9 +28,9 @@ func initWhitelist() {
func whitelist(path string) bool {
// log.Info("whitelist START", path)
- if me.ignoreWhitelist.Checked() {
- return false
- }
+ // if me.ignoreWhitelist.Checked() {
+ // return false
+ // }
_, ok := me.release.whitelist[path]
if ok {