Skip to content

Commit df65882

Browse files
Apply suggestion from @DanielRosenwasser
1 parent 0abc02d commit df65882

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

internal/fourslash/fourslash.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -899,6 +899,7 @@ func (f *FourslashTest) VerifyBaselineGoToDefinition(
899899
Range: link.TargetSelectionRange,
900900
}
901901
})
902+
902903
// If there's a single result and it has an origin selection range, use it as additionalSpan
903904
if len(*result.DefinitionLinks) == 1 && (*result.DefinitionLinks)[0].OriginSelectionRange != nil {
904905
additionalSpan = &lsproto.Location{

0 commit comments

Comments
 (0)