diff --git a/src/injector/inject.ts b/src/injector/inject.ts index cf03257..af32e61 100644 --- a/src/injector/inject.ts +++ b/src/injector/inject.ts @@ -302,7 +302,7 @@ export function inject (vm: EurekaCompatibleVM) { const originalDrserializeFunc = vm.deserializeProject; vm.deserializeProject = function (projectJSON: Record, ...args) { - if (typeof projectJSON.extensionURLs === 'object' || projectJSON.sideloadExtensionURLs === 'object') { + if (typeof projectJSON.extensionURLs === 'object' || typeof projectJSON.sideloadExtensionURLs === 'object') { const extensionURLs: Record = typeof projectJSON.sideloadExtensionURLs === 'object' ? (projectJSON.sideloadExtensionURLs as Record)