@lvce-editor/extension-host-worker 6.8.0 → 6.9.0
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.
|
@@ -4002,6 +4002,9 @@ const activateExtension2 = async (extensionId, extension, absolutePath) => {
|
|
|
4002
4002
|
|
|
4003
4003
|
const activateExtension3 = async (extensionId, extension) => {
|
|
4004
4004
|
const module = acquire(extensionId);
|
|
4005
|
+
if (!module) {
|
|
4006
|
+
throw new Error(`extension module ${extensionId} not found`);
|
|
4007
|
+
}
|
|
4005
4008
|
await module.activate(extension);
|
|
4006
4009
|
};
|
|
4007
4010
|
|