Skip to content

Commit

Permalink
🔊 chore(core): Update console.log in triggerCacheCreation (#972)
Browse files Browse the repository at this point in the history
  • Loading branch information
duckception authored Oct 31, 2023
1 parent 14b3766 commit 8622216
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/utils/triggerCacheCreation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<void> = createCacheForWalletSetupFunction(extensionPath, cachePath, setupFunction)
Expand Down

0 comments on commit 8622216

Please sign in to comment.