EA-658823 T: TodoCheckinHandlerWorker.execute

GitOrigin-RevId: 3047e208a652659cde02f2041edee6cad24ddc0f
This commit is contained in:
Aleksey Pivovarov
2022-09-14 10:52:47 +00:00
committed by intellij-monorepo-bot
parent 0631da5e23
commit 77e8bef673
@@ -91,9 +91,9 @@ public class TodoCheckinHandlerWorker {
FilePath afterFilePath = afterRevision.getFile();
VirtualFile afterFile = LocalFileSystem.getInstance().refreshAndFindFileByPath(afterFilePath.getPath());
progress(afterFile != null ? ProjectUtil.calcRelativeToProjectPath(afterFile, myProject) : afterFilePath.getName());
EditedFileProcessorBase fileProcessor = ReadAction.compute(() -> {
progress(afterFile != null ? ProjectUtil.calcRelativeToProjectPath(afterFile, myProject) : afterFilePath.getName());
if (afterFile == null || afterFile.isDirectory() || afterFile.getFileType().isBinary()) {
return null; // skip detection
}