Fixed export of methods in commands.js

master
Peery 7 years ago committed by lub
parent b7dffcfb29
commit 3f7d27bdb3

@ -51,6 +51,9 @@ function fetchCommand(input, commands, threshhold){
return candidates; return candidates;
} }
module.exports.fetchCommand = fetchCommand;
module.exports.getEditDistance = getEditDistance;
/* //Test code /* //Test code
const commands = {}; const commands = {};
commands['homeserver'] = {}; commands['homeserver'] = {};