Skip to content

Commit

Permalink
Merge pull request #375 from fsommar/patch-1
Browse files Browse the repository at this point in the history
Fix for null resolveProvider in codeAction
  • Loading branch information
NipunaRanasinghe authored May 29, 2024
2 parents b3ce9e1 + ee929db commit 07fda38
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -737,6 +737,7 @@ private boolean checkCodeActionProvider(Either<Boolean, CodeActionOptions> provi

private boolean checkCodeActionResolveProvider(Either<Boolean, CodeActionOptions> provider) {
return provider != null && provider.isRight() && provider.getRight() != null
&& provider.getRight().getResolveProvider() != null
&& provider.getRight().getResolveProvider();
}
}

0 comments on commit 07fda38

Please sign in to comment.