Commit d3d45d54 authored by Rustam Vishnyakov's avatar Rustam Vishnyakov
Browse files

IDEA-CR-45531 fix (FileUtils.exists)

parent db90f40c
Showing with 1 addition and 2 deletions
+1 -2
......@@ -223,8 +223,7 @@ public class Utils {
private static boolean containsEditorConfig(@NotNull File dir) {
if (dir.exists() && dir.isDirectory()) {
File file = new File(dir.getPath() + File.separator + ".editorconfig");
if (file.exists()) return true;
if (FileUtil.exists(dir.getPath() + File.separator + ".editorconfig")) return true;
}
return false;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment