mirror of
https://git.mills.io/prologic/zs.git
synced 2024-09-07 12:44:15 -04:00
Fix getVars()
This commit is contained in:
parent
16a58ffa2d
commit
5b116b3f07
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…
Reference in New Issue
Block a user