1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/changelog.js b/scripts/changelog.js
index e3468b29..bb1799c6 100644
--- a/scripts/changelog.js
+++ b/scripts/changelog.js
@@ -26,13 +26,13 @@ const CHANGELOG_SCRIPT = "4ec0b5948572d31df88b.js";
.toString()
.replaceAll("\r", "")
.replaceAll("\n", "\\n")
- .replaceAll("\'", "\\'");
+ .replaceAll("'", "\\'");
const index = text.indexOf("t.exports='---changelog---") + 11;
- const endIndex = text.indexOf("'\n", index); // hmm
+ const endIndex = text.indexOf("'\n", index); // hmm
await fs.writeFile(
path.join(CACHE_PATH, CHANGELOG_SCRIPT),
- text.substring(0, index) + newChangelogText + text.substring(endIndex)
+ text.substring(0, index) + newChangelogText + text.substring(endIndex),
);
-})();
\ No newline at end of file
+})();
|