From 915074fa73445ddea4ed8bbfedbe4f048dd89f67 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'] = {};