diff options
| author | Jeff Carr <[email protected]> | 2025-10-07 09:39:44 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-07 09:39:44 -0500 |
| commit | fbc6477ec86c3968f983593ac1ce1825b33fea80 (patch) | |
| tree | 2b74d0b6ac1170ca941dcc9ab61b0c02302dae1e /wit.go | |
| parent | d110888f81e357010b71a0a0286ba298fcd452c5 (diff) | |
builds and runs again
Diffstat (limited to 'wit.go')
| -rw-r--r-- | wit.go | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -5,6 +5,12 @@ import ( ) func (m *Machine) IsInstalled(name string) bool { + if m == nil { + panic("m == nil in zoopb") + } + if m.Packages == nil { + panic("m.Packages nil in zoopb") + } for p := range m.Packages.IterByName() { if name == p.Name { // log.Info("package installed:", p.Name, p.Version, p.PkgName) |
