mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-23 11:49:38 +00:00
update html service. FIxes #77792
This commit is contained in:
@@ -32,7 +32,12 @@ export function getDocumentContext(documentUri: string, workspaceFolders: Worksp
|
||||
}
|
||||
}
|
||||
}
|
||||
return url.resolve(base, ref);
|
||||
try {
|
||||
return url.resolve(base, ref);
|
||||
} catch {
|
||||
return undefined;
|
||||
}
|
||||
|
||||
},
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user