Merge pull request #23039 from sennyeya/update-my-account

chore: update my account for contributions
This commit is contained in:
Patrik Oldsberg
2024-02-25 01:23:45 +01:00
committed by GitHub
2 changed files with 9 additions and 6 deletions
+5 -2
View File
@@ -32,7 +32,11 @@ const IGNORED_WHEN_LISTING = [
/^docs[/\\]reference[/\\]/,
];
const IGNORED_WHEN_EXPLICIT = [/^.*[/\\]knip-report\.md$/];
const IGNORED_WHEN_EXPLICIT = [
/^ADOPTERS\.md$/,
/^OWNERS\.md$/,
/^.*[/\\]knip-report\.md$/,
];
const rootDir = resolvePath(__dirname, '..');
@@ -120,7 +124,6 @@ async function main() {
const relativePaths = absolutePaths
.map(path => relativePath(rootDir, path))
.filter(path => !IGNORED_WHEN_EXPLICIT.some(pattern => pattern.test(path)));
const success = await runVale(
relativePaths.length === 0 ? await listFiles() : relativePaths,
);