v1.0.0 migration guide

This commit is contained in:
Olivier Gagnon
2021-11-02 22:49:46 -04:00
parent b2bf3fc21f
commit 0bee743b47
11 changed files with 52 additions and 13 deletions
+4 -1
View File
@@ -27,7 +27,9 @@ function convert(code: string): string {
}
if (line != orig) {
out.push(`// =============================== original line ===============================`);
out.push(`// ${orig}`);
out.push(`/**`);
out.push(` * ${orig}`);
out.push(" */");
out.push(`// =============================================================================`);
}
out.push(line);
@@ -36,6 +38,7 @@ function convert(code: string): string {
}
export function v1APIBreak(): void {
console.log("Running v1 api migration");
for (const server of GetAllServers()) {
const backups: Script[] = [];
for (const script of server.scripts) {