mirror of
https://github.com/n8n-io/n8n.git
synced 2026-10-17 05:29:44 +02:00
fix(core): Build email templates on Windows (no-changelog) (#39823)
This commit is contained in:
parent
5fe92a568a
commit
918bcddb4f
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user