mirror of
https://github.com/bitwarden/server
synced 2025-12-10 05:13:48 +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
|
||||
const mjmlFiles = glob.sync(`${config.inputDir}/**/*.mjml`);
|
||||
// Find all MJML files with absolute paths, excluding components directories
|
||||
const mjmlFiles = glob.sync(`${config.inputDir}/**/*.mjml`, {
|
||||
ignore: ['**/components/**']
|
||||
});
|
||||
|
||||
console.log(`\n[INFO] Found ${mjmlFiles.length} MJML file(s) to compile...`);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user