Skip to content

Commit 8451f8b

Browse files
committed
fix standalone editor compilation
1 parent 9714283 commit 8451f8b

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

src/vs/platform/files/common/inMemoryFilesystemProvider.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,7 @@ export class InMemoryFileSystemProvider extends Disposable implements IFileSyste
6666
async readdir(resource: URI): Promise<[string, FileType][]> {
6767
const entry = this._lookupAsDirectory(resource, false);
6868
let result: [string, FileType][] = [];
69-
for (const [name, child] of entry.entries) {
70-
result.push([name, child.type]);
71-
}
69+
entry.entries.forEach((child, name) => result.push([name, child.type]));
7270
return result;
7371
}
7472

0 commit comments

Comments
 (0)