mirror of
https://github.com/microsoft/vscode.git
synced 2026-10-05 15:36:22 +01:00
Fixes #27720.
This commit is contained in:
1 parent
9dea8acdc0
commit
388f4ff362
1 file changed
+1
-1
@@ -48,7 +48,7 @@ export class LinkDetector {
|
||||
let resource: uri = null;
|
||||
try {
|
||||
resource = (match && !strings.startsWith(match[0], 'http'))
|
||||
&& (match[2] || strings.startsWith(match[0], '/') ? uri.file(match[1]) : this.contextService.toResource(match[1]));
|
||||
&& (match[2] || strings.startsWith(match[1], '/') ? uri.file(match[1]) : this.contextService.toResource(match[1]));
|
||||
} catch (e) { }
|
||||
|
||||
if (!resource) {
|
||||
|
||||
Reference in new issue
Block a user