chore: Enable linting in scripts.

This commit is contained in:
cpojer
2026-01-31 21:29:14 +09:00
parent 0ffc251704
commit 1838ab019b
21 changed files with 314 additions and 124 deletions

View File

@@ -44,7 +44,9 @@ function replaceBlockLines(
];
const replacement = replacementLines.join("\n");
if (!after) return `${before}${replacement}`;
if (!after) {
return `${before}${replacement}`;
}
return `${before}${replacement}\n${after}`;
}