From 52ce96383cf3ff489fbb2c20e52dda79e1e119a4 Mon Sep 17 00:00:00 2001 From: Cedric Hoelzl Date: Wed, 28 Aug 2019 10:27:44 +0900 Subject: [PATCH] fixed typo --- config.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config.js b/config.js index f200057..deeb466 100644 --- a/config.js +++ b/config.js @@ -52,11 +52,11 @@ module.exports = function(echo_list,regex_list){ for(var i in echo_list){ var element = echo_list[i]; - echoobj.text.push[new get_echo_obj(element.cmd,element.ans)] + echoobj.text.push(new get_echo_obj(element.cmd,element.ans)); } for(var i in regex_list){ var element = regex_list[i]; - echoobj.regex.push[new get_echo_obj(element.cmd,element.ans)]; + echoobj.regex.push(new get_echo_obj(element.cmd,element.ans)); } return echoobj;