diff --git a/apps/cnquery/cmd/providers.go b/apps/cnquery/cmd/providers.go index 812e25511f..9272128e22 100644 --- a/apps/cnquery/cmd/providers.go +++ b/apps/cnquery/cmd/providers.go @@ -153,7 +153,7 @@ func printProviders(p []*providers.Provider) { func printProviderPath(path string, list []*providers.Provider, printEmpty bool) { if list == nil { - if printEmpty { + if printEmpty && path != "" { fmt.Println("") log.Info().Msg(path + " has no providers") }