Skip to content

Commit

Permalink
Fix errors
Browse files Browse the repository at this point in the history
Signed-off-by: kthatipally <99229993+kthatipally@users.noreply.github.com>
  • Loading branch information
kthatipally committed Nov 22, 2024
1 parent d27159e commit e002d57
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions provider/internal/builtin/service_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,10 @@ func (p *builtinServiceClient) Evaluate(ctx context.Context, cap string, conditi
if err != nil {
return response, err
}
if !containsFile {
continue
}
lineNumber := int(match.positionParams.Position.Line)

response.Incidents = append(response.Incidents, provider.IncidentContext{
FileURI: uri.URI(match.positionParams.TextDocument.URI),
Expand Down

0 comments on commit e002d57

Please sign in to comment.