Skip to content

Commit

Permalink
1
Browse files Browse the repository at this point in the history
  • Loading branch information
Traineratwot committed May 13, 2024
1 parent 12b790d commit 5546cf3
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions tools/dir_index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ function getFileType(file: string):fileType {
}

export async function dir_index(cwd: string, dir: string) {
console.log("dir_index", cwd, dir);
const iterator = await readdir(join(cwd, dir));
const files: fileObject[] = [];
const dirs: fileObject[] = [];
Expand Down Expand Up @@ -68,9 +67,6 @@ export async function dir_index(cwd: string, dir: string) {
files,
dirs,
});
console.log("files", files.length);
console.log("dirs", dirs.length);

write(join(cwd, dir, "index.html"), html);
}

Expand Down

0 comments on commit 5546cf3

Please sign in to comment.