Skip to content

Commit 2344ec2

Browse files
committed
chore: Fix formatting of locationStub
1 parent 9b14321 commit 2344ec2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/prerender.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,9 @@ export function locationStub(path) {
5151
const u = new URL(path, 'http://localhost');
5252
for (const i in u) {
5353
try {
54-
globalThis.location[i] = /to[A-Z]/.test(i)
55-
? u[i].bind(u)
56-
: String(u[i]);
54+
globalThis.location[i] = /to[A-Z]/.test(i)
55+
? u[i].bind(u)
56+
: String(u[i]);
5757
} catch {}
5858
}
5959
}

0 commit comments

Comments
 (0)