Skip to content

Commit

Permalink
debug for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
qvalentin committed Jan 11, 2025
1 parent 23620b0 commit aa1ab8b
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ package yamlls

import (
"context"
"log"
"os"
"path/filepath"
"strings"
Expand Down Expand Up @@ -141,6 +142,7 @@ func getYamllsConnectorWithCustomSchema(t *testing.T) (*Connector, chan lsp.Publ
customHandler := NewCustomSchemaHandler(
NewCustomSchemaProviderHandler(
func(ctx context.Context, URI uri.URI) (uri.URI, error) {
log.Printf("Custom schema provider called for %s returning %s", URI, uri.File(schemaFile))
return uri.File(schemaFile), nil
}))

Expand Down

0 comments on commit aa1ab8b

Please sign in to comment.