mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-28 12:33:35 +01:00
fixes #33498
This commit is contained in:
@@ -76,9 +76,9 @@ export class Model {
|
||||
const root = folder.uri.fsPath;
|
||||
const children = await new Promise<string[]>((c, e) => fs.readdir(root, (err, r) => err ? e(err) : c(r)));
|
||||
|
||||
for (const child of children) {
|
||||
this.tryOpenRepository(path.join(root, child));
|
||||
}
|
||||
children
|
||||
.filter(child => child !== '.git')
|
||||
.forEach(child => this.tryOpenRepository(path.join(root, child)));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -156,7 +156,7 @@ export class Model {
|
||||
return;
|
||||
}
|
||||
|
||||
console.error('Failed to find repository:', err);
|
||||
// console.error('Failed to find repository:', err);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user