[ci] format
This commit is contained in:
parent
394ab90547
commit
dfa1042f2b
1 changed files with 12 additions and 10 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue