From 4d89133923be21d6d7192bbdf03220441b12de14 Mon Sep 17 00:00:00 2001 From: fengdanping Date: Thu, 12 Dec 2024 19:44:48 +0800 Subject: [PATCH] chore: delete useless code --- packages/runtime/src/utils/load.ts | 6 ------ 1 file changed, 6 deletions(-) diff --git a/packages/runtime/src/utils/load.ts b/packages/runtime/src/utils/load.ts index 3e6a68b90b..f26b74a5c9 100644 --- a/packages/runtime/src/utils/load.ts +++ b/packages/runtime/src/utils/load.ts @@ -130,10 +130,6 @@ async function loadEntryScript({ return entryExports; }) .catch((e) => { - // const errMsg = getShortErrorMsg(RUNTIME_008, runtimeDescMap, { - // remoteName: name, - // remoteEntryUrl: entry, - // }); assert( undefined, getShortErrorMsg(RUNTIME_008, runtimeDescMap, { @@ -141,8 +137,6 @@ async function loadEntryScript({ resourceUrl: entry, }), ); - // console.error('----loadScript error-----', entry); - // console.error(errMsg); throw e; }); }