lib: Update for urfave/cli v2
This commit is contained in:
@@ -28,7 +28,7 @@ import (
|
||||
|
||||
// get is the cli target to run code/import downloads.
|
||||
func get(c *cli.Context, name string, gapiObj gapi.GAPI) error {
|
||||
cliContext := c.Parent()
|
||||
cliContext := c.Lineage()[1]
|
||||
if cliContext == nil {
|
||||
return fmt.Errorf("could not get cli context")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user