mirror of
https://git.mills.io/prologic/zs
synced 2025-04-04 05:43:33 +03:00
Fix getVars()
This commit is contained in:
parent
16a58ffa2d
commit
5b116b3f07
1 changed files with 1 additions and 1 deletions
2
main.go
2
main.go
|
@ -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 {
|
||||
|
|
Loading…
Add table
Reference in a new issue