[platform] skips invalid directories in VfsUtil.markDirty() (EA-90639)

This commit is contained in:
Roman Shevchenko
2017-02-16 10:19:30 +01:00
parent 5fd42f707e
commit 612bbf2315
@@ -1,5 +1,5 @@
/*
* Copyright 2000-2016 JetBrains s.r.o.
* Copyright 2000-2017 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -532,7 +532,7 @@ public class VfsUtil extends VfsUtilCore {
}
for (VirtualFile file : list) {
if (reloadChildren) {
if (reloadChildren && file.isValid()) {
file.getChildren();
}