From 3f7d27bdb35d1c5a6cb2b7971915b169d6c3ddcd Mon Sep 17 00:00:00 2001 From: Peery Date: Sun, 15 Oct 2017 18:39:29 +0200 Subject: [PATCH] Fixed export of methods in commands.js --- commands.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/commands.js b/commands.js index e5148f6..d5d5b16 100644 --- a/commands.js +++ b/commands.js @@ -51,6 +51,9 @@ function fetchCommand(input, commands, threshhold){ return candidates; } +module.exports.fetchCommand = fetchCommand; +module.exports.getEditDistance = getEditDistance; + /* //Test code const commands = {}; commands['homeserver'] = {};