mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
EA-658823 T: TodoCheckinHandlerWorker.execute
GitOrigin-RevId: 3047e208a652659cde02f2041edee6cad24ddc0f
This commit is contained in:
committed by
intellij-monorepo-bot
parent
0631da5e23
commit
77e8bef673
+2
-2
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user