Skip to content

Commit

Permalink
Merge branch 'main' of github.com:evcc-io/docs
Browse files Browse the repository at this point in the history
  • Loading branch information
naltatis committed Jan 3, 2025
2 parents 0c160be + ef827bd commit b31e297
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/generateFromTemplate.js
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ function generateMarkdown(data, type, translations, target) {
const content = fs
.readFileSync(target, "utf-8")
.replace(
new RegExp(`${escapeRegExp(AUTOGEN_MARKER)}(.|\n)*`, "gm"),
new RegExp(`${escapeRegExp(AUTOGEN_MARKER)}([\\s\\S])*`, "gm"),
`${AUTOGEN_MARKER}\n\n${generated}`,
);
console.log(`${type}: ${brandCounter} brands, ${productCounter} products`);
Expand Down

0 comments on commit b31e297

Please sign in to comment.