Clean up leftovers from debugging CI failures
This commit is contained in:
parent
3a75bec4bf
commit
ff46656809
1 changed files with 2 additions and 10 deletions
|
@ -6,6 +6,7 @@ import { readdirSync, lstatSync, readFileSync, writeFileSync } from "fs";
|
|||
|
||||
const tsFileData:Array<string> = new Array<string>();
|
||||
|
||||
// Github Actions forced my hand
|
||||
const toolinglessFolderPath = __dirname.replace("/tooling", "/");
|
||||
|
||||
function readDir(nam:string) {
|
||||
|
@ -15,10 +16,6 @@ function readDir(nam:string) {
|
|||
continue;
|
||||
}
|
||||
|
||||
console.log(file);
|
||||
|
||||
// This is a very dumb way of checking for folders
|
||||
// protip: don't do this.
|
||||
if (lstatSync(`${nam}/${file}`).isDirectory()) {
|
||||
readDir(`${nam}/${file}`);
|
||||
} else if (file.endsWith(".ts")) {
|
||||
|
@ -64,11 +61,6 @@ for (const line of splitLines) {
|
|||
}
|
||||
// Fix up classes, interfaces and such.
|
||||
resultLines.push(checkForMatchAndReplace(line));
|
||||
//resultLines.push(line.replace("export class", "class").replace("export interface", "interface").replace("export enum", "enum"));
|
||||
}
|
||||
|
||||
// Investigation
|
||||
const finalOutput = resultLines.join("\n");
|
||||
console.log(finalOutput);
|
||||
console.log(toolinglessFolderPath);
|
||||
writeFileSync("./combined.ts", finalOutput);
|
||||
writeFileSync("./combined.ts", resultLines.join("\n"));
|
||||
|
|
Loading…
Reference in a new issue