提交 7450f5d2 编写于 作者: B Benjamin Pasero

Explorer refresh not working for folders with same prefix (fixes #19377)

上级 e93a8262
......@@ -716,7 +716,7 @@ export class ExplorerView extends CollapsibleViewletView {
// Drop those path which are parents of the current one
for (let i = resolvedDirectories.length - 1; i >= 0; i--) {
const resource = resolvedDirectories[i];
if (stat.resource.toString().indexOf(resource.toString()) === 0) {
if (paths.isEqualOrParent(stat.resource.fsPath, resource.fsPath)) {
resolvedDirectories.splice(i);
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册