Skip to content

Commit

Permalink
fix npe
Browse files Browse the repository at this point in the history
GitOrigin-RevId: 828c3b647aa07fcb72809e9fc1ddd52ef85221c0
  • Loading branch information
valich authored and intellij-monorepo-bot committed Dec 2, 2022
1 parent 9ec6df2 commit 0fe9414
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -556,7 +556,7 @@ PsiFile getPsiFile() {

boolean requiresWriteAction() {
PsiFile file = getPsiFile();
return file == null || file.isPhysical() || FORCE_TEMPLATE_RUNNING.get(file);
return file == null || file.isPhysical() || FORCE_TEMPLATE_RUNNING.isIn(file);
}

private LookupElement @NotNull [] getCurrentExpressionLookupItems() {
Expand Down

0 comments on commit 0fe9414

Please sign in to comment.