From 3ec380cf664d546c02db2d2ad2b175350b8dddfc Mon Sep 17 00:00:00 2001 From: lub Date: Tue, 17 Oct 2017 10:32:24 +0200 Subject: [PATCH] make commands a global --- commands.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands.js b/commands.js index 57d4fd7..1aee763 100644 --- a/commands.js +++ b/commands.js @@ -1,6 +1,6 @@ const fs = require('fs'); -const commands = module.exports = {}; +global.commands = module.exports = {}; // Compute the edit distance between the two given strings function getEditDistance(sourceString, targetString) {