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

feat: allowed providing a custom fs object #177

Merged
merged 1 commit into from
Dec 27, 2023

Conversation

JoshuaKGoldberg
Copy link
Contributor

Allows users to pass in an fs object alongside other config options. It defaults to require('fs') if not provided. That means this shouldn't be a breaking change, as the used file system is currently require('fs').

This is my first contribution to this repo. I don't meaningfully work in repos without TypeScript very often. This code is not to be trusted to function well. 😄

@adamreisnz
Copy link
Owner

Looks good, thank you!

@adamreisnz adamreisnz merged commit c899277 into adamreisnz:main Dec 27, 2023
@JoshuaKGoldberg JoshuaKGoldberg deleted the custom-fs branch December 27, 2023 04:34
@JoshuaKGoldberg
Copy link
Contributor Author

Shoot, sorry, just noticed I never explicitly marked this as fixing #175.

@adamreisnz
Copy link
Owner

Released in 7.1.0!

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.

2 participants