Skip to content

Commit c82fa33

Browse files
authored
fix: Fixed searching nested repositories (#430)
1 parent 5f286d4 commit c82fa33

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/model.ts

-5
Original file line numberDiff line numberDiff line change
@@ -117,10 +117,6 @@ export class Model implements IDisposable {
117117
this,
118118
this.disposables
119119
);
120-
await this.onDidChangeWorkspaceFolders({
121-
added: workspace.workspaceFolders || [],
122-
removed: []
123-
});
124120

125121
const fsWatcher = workspace.createFileSystemWatcher("**");
126122
this.disposables.push(fsWatcher);
@@ -268,7 +264,6 @@ export class Model implements IDisposable {
268264
}
269265
}
270266

271-
@sequentialize
272267
public async tryOpenRepository(path: string, level = 0): Promise<void> {
273268
if (this.getRepository(path)) {
274269
return;

0 commit comments

Comments
 (0)