mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2024-12-24 06:52:40 -05:00
fix tests: empty menus
shouldn't be an array
This commit is contained in:
parent
3fbed88a95
commit
cfee656306
1 changed files with 1 additions and 1 deletions
|
@ -295,7 +295,7 @@ class ExtensionManager {
|
|||
}
|
||||
return results;
|
||||
}, []);
|
||||
extensionInfo.menus = extensionInfo.menus || [];
|
||||
extensionInfo.menus = extensionInfo.menus || {};
|
||||
extensionInfo.menus = this._prepareMenuInfo(serviceName, extensionInfo.menus);
|
||||
return extensionInfo;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue