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;