Fix environement variables all on the same line

This commit is contained in:
Joseph Garrone 2024-06-12 14:43:53 +02:00
parent 074e465284
commit a78af5080a

View File

@ -251,7 +251,7 @@ export async function generateSrcMainResourcesForMainTheme(params: {
assert<Equals<typeof themeType, never>>(false); assert<Equals<typeof themeType, never>>(false);
})()}`, })()}`,
...(buildContext.extraThemeProperties ?? []), ...(buildContext.extraThemeProperties ?? []),
buildContext.environmentVariables.map( ...buildContext.environmentVariables.map(
({ name, default: defaultValue }) => ({ name, default: defaultValue }) =>
`${name}=\${env.${name}:${escapeStringForPropertiesFile(defaultValue)}}` `${name}=\${env.${name}:${escapeStringForPropertiesFile(defaultValue)}}`
) )