Attempt to fix CI

This commit is contained in:
Holly Stubbs 2023-07-28 10:03:08 +01:00 committed by GitHub
parent 2d7815cff8
commit a43fa8ef66
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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());