Skip to content

Commit 8c9dbb6

Browse files
committed
fix: removed unncessary comment
1 parent 1cd33f5 commit 8c9dbb6

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

src/utils.ts

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -120,17 +120,9 @@ function collectMarkdown(dir: string): string[] {
120120

121121
return files
122122
.filter((f) => /\.(md|mdx)$/i.test(f))
123-
.map((f) => path.join(dir, f));
123+
.map((f) => path.join(dir, f));
124124
}
125125

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-
134126
/**
135127
* Check if a command exists in the system PATH.
136128
*

0 commit comments

Comments
 (0)