Skip to content

Commit

Permalink
fix: enable embedded LFs in JS STP vars
Browse files Browse the repository at this point in the history
  • Loading branch information
allanbowe committed Nov 7, 2023
1 parent 1fc1431 commit 7e8cbbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/src/controllers/internal/createJSProgram.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export const createJSProgram = async (
) => {
const varStatments = Object.keys(vars).reduce(
(computed: string, key: string) =>
`${computed}const ${key} = '${vars[key]}';\n`,
`${computed}const ${key} = \`${vars[key]}\`;\n`,
''
)

Expand Down

0 comments on commit 7e8cbbf

Please sign in to comment.