From 9bf618056e5b41f7f2c5ffee008ad83a9042f9f9 Mon Sep 17 00:00:00 2001 From: Dmitry <98899785+mdqst@users.noreply.github.com> Date: Thu, 23 Jan 2025 20:47:04 +0300 Subject: [PATCH] fix: Fix incorrect console log path Update generateAccount.ts Fix incorrect console log path for .env file --- packages/hardhat/scripts/generateAccount.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/hardhat/scripts/generateAccount.ts b/packages/hardhat/scripts/generateAccount.ts index 5de8e45..2680012 100644 --- a/packages/hardhat/scripts/generateAccount.ts +++ b/packages/hardhat/scripts/generateAccount.ts @@ -18,7 +18,7 @@ const setNewEnvConfig = (existingEnvConfig = {}) => { // Store in .env fs.writeFileSync(envFilePath, stringify(newEnvConfig)); - console.log("📄 Private Key saved to packages/hardhat/.env file"); + console.log(`📄 Private Key saved to ${envFilePath}`); console.log("🪄 Generated wallet address:", randomWallet.address); };