Skip to content

Commit 03c8b34

Browse files
authored
Adjusting findBadKeys detection of common files (#13139)
1 parent e3a655f commit 03c8b34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/findBadKeys.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ function checkKeys(p, nameSlug) {
9090
}
9191
if (name.endsWith(".mjs") || name.endsWith(".js") || name.endsWith(".ts") || name.endsWith(".mts")) {
9292
// ignore test-event files
93-
if (isCommonFile(name) || isTestEventFile(name)) {
93+
if (isCommonFile(pp) || isTestEventFile(pp)) {
9494
continue;
9595
}
9696
const data = fs.readFileSync(pp, "utf8");

0 commit comments

Comments
 (0)