Skip to content

Commit 8f8a889

Browse files
committed
tweak
1 parent 0ce79c2 commit 8f8a889

File tree

1 file changed

+1
-1
lines changed
  • packages/svelte/src/compiler/phases/3-transform/client/visitors

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export function SnippetBlock(node, context) {
1414
// TODO hoist where possible
1515
/** @type {(Identifier | AssignmentPattern)[]} */
1616
const args = [b.id('$$anchor')];
17-
const has_await = node.body.metadata.has_await || false;
17+
const has_await = node.body.metadata.has_await;
1818

1919
/** @type {BlockStatement} */
2020
let body;

0 commit comments

Comments
 (0)