diff --git a/lib/freeze.js b/lib/freeze.js index 8337bf9..3d8f7f0 100644 --- a/lib/freeze.js +++ b/lib/freeze.js @@ -93,10 +93,10 @@ module.exports = class Freeze { commandEntity.addMatch('freeze', 'freeze'); nlp.addEntity(commandEntity); - - // Regex Entity parsing does not currently work. It causes a recursive f(x) that crashes node. That's why + + // Regex Entity parsing does not currently work. It causes a recursive f(x) that crashes node. That's why const responseEntity = new Bravey.RegexEntityRecognizer('reopen_text'); - responseEntity.addMatch(new RegExp('====== (.*) ======='), (match) => { + responseEntity.addMatch(new RegExp('====== (.*) ======='), match => { return match; });