mirror of
https://github.com/microsoft/vscode.git
synced 2026-06-05 07:05:07 +01:00
Fixes #27720.
This commit is contained in:
@@ -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