diff options
author | 2021-06-25 13:31:17 +0000 | |
---|---|---|
committer | 2021-06-25 13:31:17 +0000 | |
commit | 7b3047f09761a0265d63ba3d51dbf7a07660b468 (patch) | |
tree | 7a2aec1b81fb05e6b1a8a24964e116cd7b48bd42 | |
parent | 028d4e0114ac6458481628e47a6b9fef60fd2160 (diff) | |
download | astro-7b3047f09761a0265d63ba3d51dbf7a07660b468.tar.gz astro-7b3047f09761a0265d63ba3d51dbf7a07660b468.tar.zst astro-7b3047f09761a0265d63ba3d51dbf7a07660b468.zip |
[ci] yarn format
-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; |