diff options
| author | Jeff Carr <[email protected]> | 2025-10-07 07:13:29 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-07 07:13:29 -0500 |
| commit | c5c6afea125875e635efb26da039d83d65e7d67f (patch) | |
| tree | 8fad7393e2c1f545b7c64e98fb0a919e20e6841c /wit.go | |
| parent | 99f8eb08bdca46925e5a00d4dda4d9625694b86b (diff) | |
make this build on darwin
Diffstat (limited to 'wit.go')
| -rw-r--r-- | wit.go | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -5,6 +5,7 @@ import ( "os" "strings" + "go.wit.com/dev/davecgh/spew" "go.wit.com/lib/fhelp" ) @@ -127,6 +128,9 @@ func (m *Machine) InitWitMirrors() error { func (all *Packages) AddIfNewer(p *Package) { check := all.FindByName(p.Name) if check == nil { + if p.Name == "zood" { + spew.Dump(p) + } all.Append(p) return } @@ -137,6 +141,9 @@ func (all *Packages) AddIfNewer(p *Package) { return } if v1.LessThan(v2) { + if p.Name == "zood" { + spew.Dump(p) + } // log.Info("removing", v1, "using", v2) all.Delete(check) all.Append(p) |
