D
Deno

help

WalkSync dosnt get files

KKay9/14/2023
Im trying to read all files of a folder with WalkSync from the deno STD libary but it dosnt see the file thats in it and dosnt log anything
for (const entry in walkSync(this.client.root + "\\src\\events")) {
console.log(entry);
}
for (const entry in walkSync(this.client.root + "\\src\\events")) {
console.log(entry);
}
No description
Jjavi9/14/2023
you need a for … of loop not a for … in
KKay9/14/2023
oh. yhea i ran into that a few times before. i dint notice thx

Looking for more? Join the community!