Fix getVars()

This commit is contained in:
James Mills 2023-03-30 22:22:21 +10:00
parent 16a58ffa2d
commit 5b116b3f07
No known key found for this signature in database
GPG Key ID: AC4C014F1440EBD6
1 changed files with 1 additions and 1 deletions

View File

@ -246,7 +246,7 @@ If the name of variables (optional) are passed as additional arguments, only tho
are display instead of all variables (the default behavior).`,
Args: cobra.MinimumNArgs(1),
RunE: func(cmd *cobra.Command, args []string) error {
var w io.Writer = &bytes.Buffer{}
s := ""
vars, _, err := getVars(args[0], globals())
if err != nil {