Skip to content

Commit 1b55045

Browse files
committed
doh
1 parent e80ab33 commit 1b55045

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/svelte/src/compiler/phases/3-transform/client/visitors/VariableDeclaration.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ export function VariableDeclaration(node, context) {
4646
continue;
4747
}
4848
if (
49-
init.type === 'AwaitExpression' &&
49+
init?.type === 'AwaitExpression' &&
5050
context.state.analysis.instance?.scope === context.state.scope
5151
) {
5252
const parallelize = can_be_parallelized(

0 commit comments

Comments
 (0)