Every line of 'h rune' code snippets is scanned for vulnerabilities by our powerful machine learning engine that combs millions of open source libraries, ensuring your Go code is secure.
253 func (g *GraphQLCommand) RunE(c *cobra.Command, args []string) error { 254 if err := g.checkValid(); err != nil { 255 return err 256 } 257 // just run parent command, as the real implementation 258 // of run is defined by root query 259 if p := g.FieldCommand.Command.Parent(); p != nil && p.RunE != nil { 260 return p.RunE(c, args) 261 } 262 return nil 263 }