Skip to content

Commit 2139102

Browse files
committed
Fix opening the graph view from SCM repo icon
Fixes #152
1 parent 2513436 commit 2139102

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/git.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ module.exports.get_git = function(EXT_ID, logger, { on_repo_external_state_chang
149149
let uri_path = await realpath(uri.fsPath).catch(e => { throw new Error(e) /* https://github.com/nodejs/node/issues/30944 */ })
150150
return ((await Promise.all(api.repositories.map(async (repo) => {
151151
let repo_path = await realpath(repo.rootUri.fsPath).catch(e => { throw new Error(e) /* https://github.com/nodejs/node/issues/30944 */ })
152-
return { repo_path, fs_path: repo.rootUri.path }
152+
return { repo_path, fs_path: repo.rootUri.fsPath }
153153
})))).filter(({ repo_path }) => {
154154
// if repo includes uri: stackoverflow.com/q/37521893
155155
let rel = relative(repo_path, uri_path)

0 commit comments

Comments
 (0)