From 8622216b89d30c9a63d5ae36cc7c1d6ab10d98c2 Mon Sep 17 00:00:00 2001 From: Daniel Izdebski Date: Wed, 1 Nov 2023 00:02:32 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=8A=20chore(core):=20Update=20`console?= =?UTF-8?q?.log`=20in=20`triggerCacheCreation`=20(#972)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/core/src/utils/triggerCacheCreation.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/src/utils/triggerCacheCreation.ts b/packages/core/src/utils/triggerCacheCreation.ts index bb05b580e..524bd459e 100644 --- a/packages/core/src/utils/triggerCacheCreation.ts +++ b/packages/core/src/utils/triggerCacheCreation.ts @@ -26,7 +26,7 @@ export async function triggerCacheCreation( await fs.remove(cachePath) } - console.log(`Triggering cache creation for: ${funcHash} (${fileName})`) + console.log(`Triggering cache creation for: ${funcHash} (${fileName.replace(/\.(js|ts)$/, '.{js,ts}')})`) // We're not inferring the return type here to make sure we don't accidentally await the function. const createCachePromise: Promise = createCacheForWalletSetupFunction(extensionPath, cachePath, setupFunction)