mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 21:09:43 +00:00
Also check file scheme
This commit is contained in:
parent
4df13e9771
commit
c204429da3
|
@ -26,7 +26,7 @@ export class TerminalLinkResolver implements ITerminalLinkResolver {
|
|||
|
||||
async resolveLink(processManager: Pick<ITerminalProcessManager, 'initialCwd' | 'os' | 'remoteAuthority' | 'userHome'> & { backend?: Pick<ITerminalBackend, 'getWslPath'> }, link: string, uri?: URI): Promise<ResolvedLink> {
|
||||
// Correct scheme and authority for remote terminals
|
||||
if (uri && processManager.remoteAuthority) {
|
||||
if (uri && uri.scheme === Schemas.file && processManager.remoteAuthority) {
|
||||
uri = uri.with({
|
||||
scheme: Schemas.vscodeRemote,
|
||||
authority: processManager.remoteAuthority
|
||||
|
|
Loading…
Reference in a new issue