make commands a global

master
lub 7 years ago
parent 6e64708a37
commit 3ec380cf66

@ -1,6 +1,6 @@
const fs = require('fs'); const fs = require('fs');
const commands = module.exports = {}; global.commands = module.exports = {};
// Compute the edit distance between the two given strings // Compute the edit distance between the two given strings
function getEditDistance(sourceString, targetString) { function getEditDistance(sourceString, targetString) {