We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 12e56df commit 12fce58Copy full SHA for 12fce58
apps/site/scripts/lint-snippets/index.mjs
@@ -79,10 +79,12 @@ function reportErrors(errors) {
79
// Get all markdown files
80
const filePaths = await glob('**/*.md', {
81
root: process.cwd(),
82
- cwd: 'apps/site/pages/en/learn/',
+ cwd: 'pages/en/learn/',
83
absolute: true,
84
});
85
86
+console.log(`Found ${filePaths.length} markdown files.`);
87
+
88
// Validate all files and collect errors
89
const allErrors = await Promise.all(filePaths.map(validateFile));
90
0 commit comments