mirror of
https://github.com/bitwarden/server
synced 2025-12-13 06:43:45 +00:00
[PM-21742] Fix MJML validation error. (#6687)
This commit is contained in:
@@ -41,8 +41,10 @@ if (!fs.existsSync(config.outputDir)) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Find all MJML files with absolute path
|
// Find all MJML files with absolute paths, excluding components directories
|
||||||
const mjmlFiles = glob.sync(`${config.inputDir}/**/*.mjml`);
|
const mjmlFiles = glob.sync(`${config.inputDir}/**/*.mjml`, {
|
||||||
|
ignore: ['**/components/**']
|
||||||
|
});
|
||||||
|
|
||||||
console.log(`\n[INFO] Found ${mjmlFiles.length} MJML file(s) to compile...`);
|
console.log(`\n[INFO] Found ${mjmlFiles.length} MJML file(s) to compile...`);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user