Skip to content

Commit c6d174a

Browse files
committed
remove unnecessary output
1 parent 05d95b7 commit c6d174a

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

index.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,13 @@ import * as paths from "path";
55

66
async function walk(dir) {
77
let files = fs.readdirSync(dir, { withFileTypes: true });
8-
info("directory: " + dir + ", files: " + JSON.stringify(files));
98
files = await Promise.all(
109
files.map(async (dirEnt) => {
1110
const filePath = paths.join(dir, dirEnt.name); // dirEnt.path does not yet exist in nodejs 16.16.0
12-
info("filePath: " + filePath);
1311
if (dirEnt.isDirectory()) {
14-
info("found directory: " + filePath);
1512
return walk(filePath);
1613
} else {
1714
if (dirEnt.isFile()) {
18-
info("found file: " + filePath);
1915
return filePath;
2016
}
2117
}

0 commit comments

Comments
 (0)