File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ import { createQuickPickSeparator } from '../../quickpicks/items/common';
2222import { debug } from '../../system/decorators/log' ;
2323import { once } from '../../system/event' ;
2424import { Logger } from '../../system/logger' ;
25- import { normalizePath } from '../../system/path' ;
25+ import { maybeUri , normalizePath } from '../../system/path' ;
2626import { fromBase64 } from '../../system/string' ;
2727import { executeCommand } from '../../system/vscode/command' ;
2828import { configuration } from '../../system/vscode/configuration' ;
@@ -194,7 +194,7 @@ export class DeepLinkService implements Disposable {
194194 isPending ?: boolean ,
195195 ) : Promise < void > {
196196 if ( repoPath != null && isPending ) {
197- const repoOpenUri = Uri . parse ( repoPath ) ;
197+ const repoOpenUri = maybeUri ( repoPath ) ? Uri . parse ( repoPath ) : repoPath ;
198198 try {
199199 const openRepo = await this . container . git . getOrOpenRepository ( repoOpenUri , { detectNested : false } ) ;
200200 if ( openRepo != null ) {
You can’t perform that action at this time.
0 commit comments