1
0
mirror of https://github.com/sasjs/server.git synced 2025-12-10 11:24:35 +00:00

fix: enable embedded LFs in JS STP vars

This commit is contained in:
Allan Bowe
2023-11-07 15:51:32 +00:00
committed by GitHub
parent 1fc1431442
commit 7e8cbbf377

View File

@@ -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`,
''
)