fileSmasher cleanup

This commit is contained in:
Holly Stubbs 2023-06-26 16:21:16 +01:00
parent a4ef4c6945
commit 8bed6c7310

View file

@ -5,9 +5,9 @@
import { readdirSync, statSync, readFileSync, writeFileSync } from "fs"; import { readdirSync, statSync, readFileSync, writeFileSync } from "fs";
let tsFileData:Array<string> = new Array<string>(); let tsFileData:Array<string> = new Array<string>();
let tsFirstFileData:Array<string> = new Array<string>(); const tsFirstFileData:Array<string> = new Array<string>();
let tsLastFileData:Array<string> = new Array<string>(); const tsLastFileData:Array<string> = new Array<string>();
let tsEverythingElse:Array<string> = new Array<string>(); const tsEverythingElse:Array<string> = new Array<string>();
function readDir(nam:string) { function readDir(nam:string) {
const files = readdirSync(nam); const files = readdirSync(nam);