From 74fef6a3e4228a189a35b252105417dca6a0d907 Mon Sep 17 00:00:00 2001 From: PalmDevs Date: Sun, 13 Jul 2025 20:04:42 +0700 Subject: [PATCH] chore(lib/assets): correct typo, remove useless log --- lib/assets/src/preinit.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/assets/src/preinit.ts b/lib/assets/src/preinit.ts index a2df46b..6ec2dd7 100644 --- a/lib/assets/src/preinit.ts +++ b/lib/assets/src/preinit.ts @@ -37,7 +37,7 @@ const byAssetSourceResolver = byDependencies([ * * ```js * preinit() { - * AssetRegistry.getAssetByID(0) + * AssetsRegistry.getAssetByID(0) * // Module ID will now be set! * AssetsRegistryModuleId // ... * } @@ -98,8 +98,6 @@ const unsubAR = waitForModules( return } - console.log('Patching') - const orig = exports.registerAsset exports.registerAsset = (asset: Asset) => { const result = orig(asset as PackagerAsset)