Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
iwahbe committed Sep 17, 2024
1 parent c0093c6 commit b42beb4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sdk/yaml/yaml.go
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ func (s *server) hover(client lsp.Client, params *protocol.HoverParams) (*protoc
}
typ, err := doc.objectAtPoint(pos)
if err != nil {
client.LogErrorf(err.Error())
client.LogErrorf("%s", err.Error())
return nil, nil
}
client.LogInfof("Object found for hover: %v", typ)
Expand Down Expand Up @@ -158,7 +158,7 @@ func (s *server) completion(client lsp.Client, params *protocol.CompletionParams

o, err := doc.objectAtPoint(params.Position)
if err != nil {
client.LogErrorf(err.Error())
client.LogErrorf("%s", err.Error())
return nil, nil
}
client.LogInfof("Object found for completion: %v", o)
Expand Down

0 comments on commit b42beb4

Please sign in to comment.