[AAE-11708] Use perl regexp instead of reverse grep in changelog (#8114)

This commit is contained in:
Pablo Martinez Garcia
2023-01-10 13:45:49 +01:00
committed by GitHub
parent b14d701ca9
commit 0d294ce720

View File

@@ -92,8 +92,8 @@ function getCommits(options: DiffOptions): Array<Commit> {
options.range,
`--no-merges`,
`--first-parent`,
`--invert-grep`,
`--author="${authorFilter}"`,
`--perl-regexp`,
`--author="^((?!${authorFilter}).*)$"`,
// this format is needed to allow parsing all characters in the commit message and safely convert to JSON
`--format="{ ^@^hash^@^: ^@^%h^@^, ^@^author^@^: ^@^%an^@^, ^@^author_email^@^: ^@^%ae^@^, ^@^date^@^: ^@^%ad^@^, ^@^subject^@^: ^@^%s^@^ }"`
];