scripts/build-plugins-report: exclude changes to tests

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2023-10-11 11:03:34 +02:00
committed by Camila Belo
parent ef26bd727a
commit 409e24c2ea
+7 -2
View File
@@ -81,8 +81,13 @@ async function main() {
'--format=%an <%ae>;%s;%h;%as',
'--',
// ignore changes on README and package.json files
path.resolve(directoryPath, 'src', '**', '*.ts'),
path.resolve(directoryPath, 'src', '**', '*.tsx'),
path.posix.resolve(directoryPath, 'src'),
`:(exclude)${path.posix.resolve(
directoryPath,
'src',
'**',
'*.test.*',
)}`,
);
data = output