update html service. FIxes #77792

This commit is contained in:
Martin Aeschlimann
2019-07-25 17:38:36 +02:00
parent 8968c83198
commit 89afd3fe5e
3 changed files with 23 additions and 17 deletions

View File

@@ -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;
}
},
};
}