summary refs log tree commit diff
path: root/scripts/changelog.js
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/changelog.js')
-rw-r--r--scripts/changelog.js8
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
+})();