[ci] format

This commit is contained in:
tony-sull 2022-04-18 16:31:07 +00:00 committed by github-actions[bot]
parent 394ab90547
commit dfa1042f2b

View file

@ -12,7 +12,9 @@ export function getHighlighter(opts) {
const key = stringify(opts);
// Highlighter has already been requested, reuse the same instance
if (_resolvedHighlighters.has(key)) { return _resolvedHighlighters.get(key) }
if (_resolvedHighlighters.has(key)) {
return _resolvedHighlighters.get(key);
}
// Start the async getHighlighter call and cache the Promise
const highlighter = getShikiHighlighter(opts);