From a43fa8ef662a03f59b60b12dfa321aac24a65469 Mon Sep 17 00:00:00 2001 From: Holly Date: Fri, 28 Jul 2023 10:03:08 +0100 Subject: [PATCH] Attempt to fix CI --- tooling/fileSmasher.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tooling/fileSmasher.ts b/tooling/fileSmasher.ts index d19e9f8..66b7fc9 100644 --- a/tooling/fileSmasher.ts +++ b/tooling/fileSmasher.ts @@ -19,7 +19,7 @@ function readDir(nam:string) { // This is a very dumb way of checking for folders // protip: don't do this. - if (statSync(`${nam}/${file}`).isDirectory()) { + if (lstatSync(`${nam}/${file}`).isDirectory()) { readDir(`${nam}/${file}`); } else if (file.endsWith(".ts")) { tsFileData.push(readFileSync((`${nam}/${file}`).replace("//", "/")).toString());