Skip to content

Commit 85ac2a0

Browse files
JohnstonCodeYanpas
authored andcommitted
fix: Fixed searching nested repositories (JohnstonCode#430)
1 parent c96751a commit 85ac2a0

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
@@ -118,10 +118,6 @@ export class Model implements IDisposable {
118118
this,
119119
this.disposables
120120
);
121-
await this.onDidChangeWorkspaceFolders({
122-
added: workspace.workspaceFolders || [],
123-
removed: []
124-
});
125121

126122
const fsWatcher = workspace.createFileSystemWatcher("**");
127123
this.disposables.push(fsWatcher);
@@ -269,7 +265,6 @@ export class Model implements IDisposable {
269265
}
270266
}
271267

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

0 commit comments

Comments
 (0)