mirror of
https://github.com/Microsoft/vscode
synced 2024-10-13 23:09:01 +00:00
Explorer refresh not working for folders with same prefix (fixes #19377)
This commit is contained in:
parent
e93a826213
commit
7450f5d2b7
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue