Skip to content

Commit f769b05

Browse files
committed
chore: add debugging
1 parent 1198712 commit f769b05

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/extension.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,10 @@ async function _handleRepos(git: API, uri: any) {
3737
// FIXME: Unfortunately this seems to only pick up the first repo and not find
3838
// second, etc.
3939
const selectedRepository = git.repositories.find(repository => {
40+
console.debug({ uri, _rootUri: uri._rootUri });
41+
if (!uri._rootUri) {
42+
console.warn("_rootUri not set");
43+
}
4044
return repository.rootUri.path === uri._rootUri.path;
4145
});
4246

0 commit comments

Comments
 (0)