diff --git a/internal/langserver/handlers/command/module_providers.go b/internal/langserver/handlers/command/module_providers.go index 182dc16b8..104740e2e 100644 --- a/internal/langserver/handlers/command/module_providers.go +++ b/internal/langserver/handlers/command/module_providers.go @@ -6,7 +6,6 @@ import ( "github.com/creachadair/jrpc2/code" "github.com/hashicorp/terraform-ls/internal/langserver/cmd" - op "github.com/hashicorp/terraform-ls/internal/terraform/module/operation" "github.com/hashicorp/terraform-ls/internal/uri" tfaddr "github.com/hashicorp/terraform-registry-address" ) @@ -51,10 +50,6 @@ func (h *CmdHandler) ModuleProvidersHandler(ctx context.Context, args cmd.Comman return response, nil } - if mod.MetaState == op.OpStateUnknown || mod.MetaErr != nil { - return response, nil - } - for provider, version := range mod.Meta.ProviderRequirements { docsLink, err := getProviderDocumentationLink(ctx, provider) if err != nil {