Skip to content

Commit

Permalink
Update internal/langserver/handlers/hooks_module.go
Browse files Browse the repository at this point in the history
Co-authored-by: Daniel Banck <dbanck@users.noreply.github.com>
  • Loading branch information
radeksimko and dbanck authored Nov 18, 2021
1 parent 4cea392 commit 5fc0fc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/langserver/handlers/hooks_module.go
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ func refreshCodeLens(ctx context.Context, clientRequester session.ClientCaller)
newOrigins, newTargets := 0, 0
if newMod != nil {
newOrigins = len(newMod.RefOrigins)
oldTargets = len(newMod.RefTargets)
newTargets = len(newMod.RefTargets)
}

if oldOrigins != newOrigins || oldTargets != newTargets {
Expand Down

0 comments on commit 5fc0fc2

Please sign in to comment.