This commit is contained in:
nora 2025-10-17 22:25:39 +02:00
parent 93553d8aae
commit e9b6576d2b
3 changed files with 17 additions and 2 deletions

View file

@ -7,7 +7,7 @@ const one = c.findIndex(l => l.includes("// 1"));
if (c[one + 1].includes("// 2")) {
c.splice(one + 1, 1);
} else {
c.splice(one + 1, 0, " // 2")
c.splice(one + 1, 0, "// 2")
}
fs.writeFileSync("src/main.rs", c.join("\n"));