Skip to content

Commit

Permalink
revert last 2 commits.
Browse files Browse the repository at this point in the history
  • Loading branch information
yanir-codota committed Nov 9, 2023
1 parent 5ce0a70 commit ceab02d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ abstract class ChatMessageHandler<RequestPayload, ResponsePayload>(protected val
}

protected fun getEditorFromProject(project: Project): Editor? {
return AsyncAction(ActionPermissions.READ).execute {
return AsyncAction(ActionPermissions.WRITE).execute {
try {
val fileEditor = FileEditorManager.getInstance(project).selectedEditor ?: return@execute null
val dataContext = DataManager.getInstance().getDataContext(fileEditor.component)
Expand Down
2 changes: 1 addition & 1 deletion Tabnine/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ repositories {
}

group 'com.tabnine'
version project.hasProperty('externalVersion') ? project.externalVersion : '1.18.1'
version project.hasProperty('externalVersion') ? project.externalVersion : 'patch'

sourceCompatibility = 9
targetCompatibility = 9
Expand Down
2 changes: 1 addition & 1 deletion TabnineSelfHosted/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ repositories {
}

group 'com.tabnineSelfHosted'
version project.hasProperty('externalVersion') ? project.externalVersion : '1.18.1'
version project.hasProperty('externalVersion') ? project.externalVersion : 'patch'

sourceCompatibility = 9
targetCompatibility = 9
Expand Down

0 comments on commit ceab02d

Please sign in to comment.