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 1cd33f5 commit 8c9dbb6Copy full SHA for 8c9dbb6
src/utils.ts
@@ -120,17 +120,9 @@ function collectMarkdown(dir: string): string[] {
120
121
return files
122
.filter((f) => /\.(md|mdx)$/i.test(f))
123
- .map((f) => path.join(dir, f));
+ .map((f) => path.join(dir, f));
124
}
125
126
-// function collectMarkdown(dir: string): string[] {
127
-// const entries = fs.readdirSync(dir, { withFileTypes: true, recursive: true });
128
-// return entries
129
-// .filter((e) => e.isFile() && /\.(md|mdx)$/i.test(e.name))
130
-// .map((e) => path.join(dir, e.name));
131
-// }
132
-
133
134
/**
135
* Check if a command exists in the system PATH.
136
*
0 commit comments