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

Expose backups opt as stdin argument #5

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

zacharyabolton
Copy link

@zacharyabolton zacharyabolton commented Oct 4, 2024

Exposes the backups boolean option as a stdin argument, allowing the user to
specify whether or not to create backups of files that are modified.

Moderately tested, but not extensively. This is a simple change that relies on
existing core logic without introducing new logic.

Really just a matter of adding a new stdin argument fmt_opts array in the
erl_tidy_prv_fmt.erl module.

For folks who wanna live life dangerously, they can now run erl_tidy without
backups filling up their directories.

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