[Updater > v2] Fix undefined error
This commit is contained in:
parent
7530f5c23b
commit
ed445f830f
1 changed files with 1 additions and 1 deletions
|
@ -163,7 +163,7 @@ class Updater extends EventEmitter {
|
|||
const base = join(this._getHostPath(), 'modules');
|
||||
|
||||
for (const mod in versions.current_modules) {
|
||||
const path = join(modulesPath, `${mod}-${versions.current_modules[mod]}`);
|
||||
const path = join(base, `${mod}-${versions.current_modules[mod]}`);
|
||||
|
||||
if (!Module.globalPaths.includes(path)) Module.globalPaths.push(path);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue