rm console log

This commit is contained in:
Olivier Gagnon 2021-11-10 12:37:40 -05:00
parent 9799d2f33b
commit a3346719a0
3 changed files with 2 additions and 6 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -70,8 +70,6 @@ function convert(code: string): string {
}
export function v1APIBreak(): void {
console.log("Running v1 api migration");
interface IFileLine {
file: string;
line: number;
@ -109,9 +107,7 @@ export function v1APIBreak(): void {
const backups: Script[] = [];
for (const script of server.scripts) {
if (!hasChanges(script.code)) continue;
console.log(script.filename);
const prefix = script.filename.includes("/") ? "/BACKUP_" : "BACKUP_";
console.log(prefix + script.filename);
backups.push(new Script(prefix + script.filename, script.code, script.server));
script.code = convert(script.code);
}