Skip to content

Commit

Permalink
feat(ignored-files): update static list
Browse files Browse the repository at this point in the history
  • Loading branch information
Z-n-o-M committed Jan 5, 2023
1 parent 78d8c06 commit 18eecfd
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions src/fs/folder/CodefendFolderManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,15 @@ export class CodefendFolderManager implements ICodefendFolderManager {
if (!fs.existsSync(to)) fs.mkdirSync(to);
fs.readdirSync(from).forEach((element) => {
if (
["node_modules", ".github", ".vscode", "codefend-output"].includes(
element
)
[
"node_modules",
".git",
".github",
".vscode",
"codefend-output",
"build",
"dist",
].includes(element)
)
return;
if (fs.lstatSync(path.join(from, element)).isFile()) {
Expand Down

0 comments on commit 18eecfd

Please sign in to comment.