diff options
-rw-r--r-- | packages/astro/src/compiler/codegen/index.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/astro/src/compiler/codegen/index.ts b/packages/astro/src/compiler/codegen/index.ts index e61d0ee08..8e1edf763 100644 --- a/packages/astro/src/compiler/codegen/index.ts +++ b/packages/astro/src/compiler/codegen/index.ts @@ -201,7 +201,7 @@ async function compileExpression(node: Expression, state: CodegenState, compileO } } const location = { start: node.start, end: node.end }; - let code = transpileExpressionSafe("(" + raw + ")", { state, compileOptions, location }); + let code = transpileExpressionSafe('(' + raw + ')', { state, compileOptions, location }); if (code === null) throw new Error(`Unable to compile expression`); code = code.trim().replace(/\;$/, ''); return code; |