summaryrefslogtreecommitdiff
path: root/finalGoSumCheck.go
diff options
context:
space:
mode:
Diffstat (limited to 'finalGoSumCheck.go')
-rw-r--r--finalGoSumCheck.go8
1 files changed, 7 insertions, 1 deletions
diff --git a/finalGoSumCheck.go b/finalGoSumCheck.go
index 6fba0a3..1935028 100644
--- a/finalGoSumCheck.go
+++ b/finalGoSumCheck.go
@@ -105,7 +105,13 @@ func (f *Forge) CheckOverride(gopath string) bool {
}
// fuckit for now. just blacklist github.com
if strings.HasPrefix(gopath, "github.com/") {
- log.Info("CheckOverride() is ignoring everything at github.com", gopath)
+ if ENV.Verbose() {
+ log.Info("CheckOverride() is ignoring everything at github.com", gopath)
+ }
+ return true
+ }
+ if !strings.HasPrefix(gopath, "go.wit.com") {
+ log.Info("CheckOverride() is ignoring else not at go.wit.com", gopath)
return true
}
return false