make commands a global

develop
lub 7 years ago
parent 7bfb943328
commit 9c2d902c39

@ -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) {