Skip to content

Commit 12fce58

Browse files
committed
fix: lint snippets glob
1 parent 12e56df commit 12fce58

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

apps/site/scripts/lint-snippets/index.mjs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,10 +79,12 @@ function reportErrors(errors) {
7979
// Get all markdown files
8080
const filePaths = await glob('**/*.md', {
8181
root: process.cwd(),
82-
cwd: 'apps/site/pages/en/learn/',
82+
cwd: 'pages/en/learn/',
8383
absolute: true,
8484
});
8585

86+
console.log(`Found ${filePaths.length} markdown files.`);
87+
8688
// Validate all files and collect errors
8789
const allErrors = await Promise.all(filePaths.map(validateFile));
8890

0 commit comments

Comments
 (0)