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 92633a2 commit 2927869Copy full SHA for 2927869
src/fs/fixtures/repo-3/documentation/docs/xx-security.md
@@ -0,0 +1 @@
1
+asdasd
src/fs/get_content.ts
@@ -44,7 +44,12 @@ export async function rc_read_file(file_path: string): Promise<File> {
44
file_or_dir.is_dir = true;
45
file_or_dir.content = await Promise.all(
46
(await fs.readdir(file_path))
47
- .filter((name) => !name.endsWith("DS_Store") && name !== "node_modules")
+ .filter(
48
+ (name) =>
49
+ !name.endsWith("DS_Store") &&
50
+ name !== "node_modules" &&
51
+ !name.startsWith("xx")
52
+ )
53
.map((name) => rc_read_file(path.join(file_path, name)))
54
);
55
}
0 commit comments