mirror of
https://github.com/microsoft/vscode.git
synced 2026-07-13 15:35:20 +01:00
fix repository for isolation mode (#298498)
This commit is contained in:
committed by
GitHub
parent
ff740b1cef
commit
2ea417c9ab
@@ -197,6 +197,11 @@ export class SessionsManagementService extends Disposable implements ISessionsMa
|
||||
return [URI.parse(`${GITHUB_REMOTE_FILE_SCHEME}://github/${metadata.owner}/${metadata.name}`), undefined];
|
||||
}
|
||||
|
||||
const workingDirectoryPath = metadata?.workingDirectoryPath as string | undefined;
|
||||
if (workingDirectoryPath) {
|
||||
return [URI.file(workingDirectoryPath), undefined];
|
||||
}
|
||||
|
||||
const repositoryPath = metadata?.repositoryPath as string | undefined;
|
||||
const repositoryPathUri = typeof repositoryPath === 'string' ? URI.file(repositoryPath) : undefined;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user