zumito-framework 1.1.2 → 1.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ZumitoFramework.js +1 -1
- package/package.json +1 -1
package/dist/ZumitoFramework.js
CHANGED
|
@@ -127,7 +127,7 @@ class ZumitoFramework {
|
|
|
127
127
|
}
|
|
128
128
|
;
|
|
129
129
|
// Create module instance
|
|
130
|
-
let moduleInstance = new module(path.join(modulesFolder, moduleName));
|
|
130
|
+
let moduleInstance = new module(path.join(modulesFolder, moduleName), this);
|
|
131
131
|
this.modules.set(moduleInstance.constructor.name, moduleInstance);
|
|
132
132
|
// Register module commands
|
|
133
133
|
this.commands = new Map([...this.commands, ...moduleInstance.getCommands()]);
|