Skip to content
This repository has been archived by the owner on May 4, 2023. It is now read-only.

Commit

Permalink
fix issue with update snippet
Browse files Browse the repository at this point in the history
  • Loading branch information
juli1 committed Sep 13, 2022
1 parent 536e97c commit d4a7d92
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
pluginGroup=codiga.io.plugins
pluginName=codiga-jetbrains-plugin
pluginVersion=1.7.10
pluginVersion=1.7.11
pluginSinceBuild=213
pluginUntilBuild=222.*
# Plugin Verifier integration -> https://github.com/JetBrains/gradle-intellij-plugin#plugin-verifier-dsl
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ private void updateResult() {

FileEditorManager fileEditorManager = FileEditorManager.getInstance(project);

if (fileEditorManager == null) {
if (fileEditorManager == null || fileEditorManager.getSelectedEditor() == null) {
LOGGER.info("cannot find editor manager");
return;
}
Expand Down

0 comments on commit d4a7d92

Please sign in to comment.