8000 refactor: replace manual directory and file checks with fs-extra methods by NikolaiKryshnev · Pull Request #75 · dl-solarity/hardhat-zkit · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

refactor: replace manual directory and file checks with fs-extra methods #75

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

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

Conversation

NikolaiKryshnev
Copy link

This PR refactors the code to use fs-extra convenience methods for directory and file operations. Specifically:

  • Replaced manual checks with fsExtra.ensureDirSync for directory creation.
  • Replaced manual checks with fsExtra.removeSync for file removal.
  • Simplified the code, making it more readable and maintainable.

This is a minor change that improves code quality without introducing new functionality or fixing a bug.

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
0