From b09d7bbf13687c361e57055a146da4b651367906 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Mon, 8 Feb 2021 22:04:46 -0500 Subject: [PATCH] Fix --- util/Util.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/Util.js b/util/Util.js index bebeabbd..f843b7f9 100644 --- a/util/Util.js +++ b/util/Util.js @@ -182,7 +182,7 @@ module.exports = class Util { } static textDiff(oldText, newText) { - const changed = []; + let changed = []; return oldText.split('').map((char, i) => { if (char === newText.charAt(i)) { const chars = changed.length ? `**${changed.join('')}**${char}` : char;