fix any env var name

This commit is contained in:
imorte 2025-06-02 22:03:45 +02:00
commit 08aa2b3896

View file

@ -281,7 +281,7 @@ func (mod *Discovery) showMeta(arg string) (err error) {
} }
colNames := []string{"Name", "Value"} colNames := []string{"Name", "Value"}
any := false isAny := false
for _, t := range targets { for _, t := range targets {
keys := []string{} keys := []string{}
@ -326,12 +326,12 @@ func (mod *Discovery) showMeta(arg string) (err error) {
}) })
} }
any = true isAny = true
tui.Table(mod.Session.Events.Stdout, colNames, rows) tui.Table(mod.Session.Events.Stdout, colNames, rows)
} }
} }
if any { if isAny {
mod.Session.Refresh() mod.Session.Refresh()
} }