We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5179f85 commit c7e0c6aCopy full SHA for c7e0c6a
src/gitService.ts
@@ -361,7 +361,10 @@ export class GitService extends Disposable {
361
editor = editor || window.activeTextEditor;
362
if (editor === undefined) return undefined;
363
364
- return this.getRepoPath(editor.document.uri);
+ const doc = await Container.tracker.getOrAdd(editor.document.uri);
365
+ if (doc === undefined) return undefined;
366
+
367
+ return doc.uri.repoPath;
368
}
369
370
getHighlanderRepoPath(): string | undefined {
0 commit comments