Set up CI with ESLint linter and Mocha test runner (#661)

This commit is contained in:
Thomas Durieux authored and GitHub committed 2026-04-15 04:34:03 +02:00
1 parent 812f8b6314
commit f3641c8ce3
14 files changed
+1991 -38

No files matched your search

+1 -1
View File
@@ -96,7 +96,7 @@ export class ContentAnonimizer {
}
// remove image in markdown
return content.replace(
/!\[[^\]]*\]\((?<filename>.*?)(?=\"|\))(?<optionalpart>\".*\")?\)/g,
/!\[[^\]]*\]\((?<filename>.*?)(?="|\))(?<optionalpart>".*")?\)/g,
() => {
this.wasAnonymized = true;
return config.ANONYMIZATION_MASK;