Add vscode: URI prefix to knownSchemes in links.ts

This commit is contained in:
Evan Bovie
2019-03-28 12:36:37 -07:00
committed by GitHub
parent f5044f0910
commit 13948796f3

View File

@@ -5,7 +5,7 @@
import * as vscode from 'vscode';
const knownSchemes = ['http:', 'https:', 'file:', 'mailto:', 'data:', 'vscode-resource:'];
const knownSchemes = ['http:', 'https:', 'file:', 'mailto:', 'data:', 'vscode:', 'vscode-resource:'];
export function getUriForLinkWithKnownExternalScheme(
link: string,
@@ -15,4 +15,4 @@ export function getUriForLinkWithKnownExternalScheme(
}
return undefined;
}
}