From 3e4e7edd900c483f2af62e150629704bde730718 Mon Sep 17 00:00:00 2001 From: Tiger Oakes Date: Tue, 29 Sep 2020 14:32:28 -0700 Subject: [PATCH] Oops. for in -> for of --- backend/utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/utils.js b/backend/utils.js index 4bfad5e..411a7da 100644 --- a/backend/utils.js +++ b/backend/utils.js @@ -164,7 +164,7 @@ async function recFindByExt(base,ext,files,result) files = files || (await fs.readdir(base)) result = result || [] - for (const file in files) { + for (const file of files) { var newbase = path.join(base,file) if ( (await fs.stat(newbase)).isDirectory() ) {