Skip to content

Commit cea318f

Browse files
committed
ignore .gitignore
Signed-off-by: Logan McAnsh <[email protected]>
1 parent 2e5473e commit cea318f

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

__scripts/test.mjs

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,14 @@ console.log({ concurrency });
1515

1616
const queue = new PQueue({ concurrency, autoStart: false });
1717

18-
const TO_IGNORE = [".git", ".github", "__scripts", "yarn.lock", "package.json"];
18+
const TO_IGNORE = [
19+
"__scripts",
20+
".git",
21+
".github",
22+
".gitignore",
23+
"package.json",
24+
"yarn.lock",
25+
];
1926

2027
let examples = [];
2128

@@ -36,7 +43,6 @@ if (process.env.CI) {
3643
const dirs = files.map((f) => f.split("/").at(0));
3744

3845
examples = [...new Set(dirs)].filter((d) => !TO_IGNORE.includes(d));
39-
console.log({ examples });
4046
} else {
4147
const entries = await fse.readdir(process.cwd(), { withFileTypes: true });
4248
examples = entries

0 commit comments

Comments
 (0)