fix(core): Build email templates on Windows (no-changelog) (#39823)

This commit is contained in:
Charlie Kolb 2026-09-29 06:47:57 +00:00 committed by GitHub
parent 5fe92a568a
commit 918bcddb4f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -39,7 +39,7 @@ function generateUserManagementEmailTemplates() {
// One mjml process for all templates: each `pnpm mjml` start costs about 0.3s.
// With several inputs, mjml writes `<name>.html` into the output directory.
const sources = templates.map((template) => `"${path.resolve(sourceDir, template)}"`).join(' ');
const result = shell.exec(`pnpm mjml ${sources} --output "${destinationDir}${path.sep}"`, {
const result = shell.exec(`pnpm mjml ${sources} --output "${destinationDir}"`, {
silent: false,
});
if (result.code !== 0) {