fixed typo

This commit is contained in:
Cedric Hoelzl 2019-08-28 10:27:44 +09:00
parent 080e625066
commit 52ce96383c

View File

@ -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;