Skip to content

Commit

Permalink
chore(intellij): remove unnecessary if block
Browse files Browse the repository at this point in the history
  • Loading branch information
fwouts committed Feb 8, 2024
1 parent 044412a commit 659f382
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -129,9 +129,6 @@ class ProjectService(private val project: Project) : Disposable {
file: VirtualFile,
) {
val textEditor = source.allEditors.find { it.file == file } as? TextEditor ?: return
if (textEditor.file != file) {
return
}
recrawlFile(file, textEditor.editor.document.text)
}

Expand Down

0 comments on commit 659f382

Please sign in to comment.