mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2025-01-11 10:39:56 -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;
|
return results;
|
||||||
}, []);
|
}, []);
|
||||||
extensionInfo.menus = extensionInfo.menus || [];
|
extensionInfo.menus = extensionInfo.menus || {};
|
||||||
extensionInfo.menus = this._prepareMenuInfo(serviceName, extensionInfo.menus);
|
extensionInfo.menus = this._prepareMenuInfo(serviceName, extensionInfo.menus);
|
||||||
return extensionInfo;
|
return extensionInfo;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue