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';
22
22
import { debug } from '../../system/decorators/log' ;
23
23
import { once } from '../../system/event' ;
24
24
import { Logger } from '../../system/logger' ;
25
- import { normalizePath } from '../../system/path' ;
25
+ import { maybeUri , normalizePath } from '../../system/path' ;
26
26
import { fromBase64 } from '../../system/string' ;
27
27
import { executeCommand } from '../../system/vscode/command' ;
28
28
import { configuration } from '../../system/vscode/configuration' ;
@@ -194,7 +194,7 @@ export class DeepLinkService implements Disposable {
194
194
isPending ?: boolean ,
195
195
) : Promise < void > {
196
196
if ( repoPath != null && isPending ) {
197
- const repoOpenUri = Uri . parse ( repoPath ) ;
197
+ const repoOpenUri = maybeUri ( repoPath ) ? Uri . parse ( repoPath ) : repoPath ;
198
198
try {
199
199
const openRepo = await this . container . git . getOrOpenRepository ( repoOpenUri , { detectNested : false } ) ;
200
200
if ( openRepo != null ) {
You can’t perform that action at this time.
0 commit comments