repo-tools: filter out SQL reports when checking for extra reports
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
@@ -398,6 +398,7 @@ export async function runApiExtraction({
|
||||
filename =>
|
||||
// https://regex101.com/r/QDZIV0/2
|
||||
filename !== 'knip-report.md' &&
|
||||
!filename.endsWith('.sql.md') &&
|
||||
// this has to temporarily match all old api report formats
|
||||
filename.match(/^.*?(api-)?report(-[^.-]+)?(.*?)\.md$/),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user