Skip to content

Commit 38c4d2d

Browse files
committed
Update for prettier
1 parent 479a3ce commit 38c4d2d

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

ts/util/asyncLoad/esm.ts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,9 @@
2424
import { mathjax } from '../../mathjax.js';
2525
import { context } from '../context.js';
2626

27-
let root = context.path(new URL(import.meta.url, 'file://').href).replace(
28-
/\/util\/asyncLoad\/esm.js$/,
29-
'/'
30-
);
27+
let root = context
28+
.path(new URL(import.meta.url, 'file://').href)
29+
.replace(/\/util\/asyncLoad\/esm.js$/, '/');
3130

3231
if (!mathjax.asyncLoad) {
3332
mathjax.asyncLoad = async (name: string) => {

0 commit comments

Comments
 (0)