Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: fix async file handling by adding fs.promises import #1323

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

0xwitty
Copy link

@0xwitty 0xwitty commented Feb 16, 2025

I noticed an issue where fs.readFile and fs.writeFile were being used synchronously, while they should be asynchronous. This was because fs.promises was not imported.
I've added the necessary import for fs.promises to ensure proper asynchronous behavior when handling files.

Copy link

vercel bot commented Feb 16, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
keplr-wallet-extension ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 16, 2025 1:58pm

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