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