From 979c82ba295efad6a4691de4fb89b0d738d3ced5 Mon Sep 17 00:00:00 2001 From: chris johnston Date: Mon, 3 Dec 2018 17:37:28 +0000 Subject: [PATCH] fix: Fixed searching nested repositories --- src/model.ts | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/model.ts b/src/model.ts index a2821682..3381adb3 100644 --- a/src/model.ts +++ b/src/model.ts @@ -117,10 +117,6 @@ export class Model implements IDisposable { this, this.disposables ); - await this.onDidChangeWorkspaceFolders({ - added: workspace.workspaceFolders || [], - removed: [] - }); const fsWatcher = workspace.createFileSystemWatcher("**"); this.disposables.push(fsWatcher); @@ -268,7 +264,6 @@ export class Model implements IDisposable { } } - @sequentialize public async tryOpenRepository(path: string, level = 0): Promise { if (this.getRepository(path)) { return;