Skip to content

Conversation

@mdqst
Copy link

@mdqst mdqst commented Jan 23, 2025

Description

I noticed a small inconsistency in the console log message within the setNewEnvConfig function. The log was hardcoding the path as packages/hardhat/.env, but the actual path is determined by the envFilePath variable, which points to ./.env. This could be misleading if the .env file is located elsewhere.

I updated the log to use the envFilePath variable directly, so it now correctly displays the path where the .env file is saved:

console.log(`📄 Private Key saved to ${envFilePath}`);  

This change ensures the log message accurately reflects the file's location.

Additional Information

Your ENS/address:

0xB2fe5c3c7231B1117Da36e7B29731693fbBc6F7A

Fix incorrect console log path for .env file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant