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

Autofix yes flag does not seem to be working #3

Closed
mohkale opened this issue May 8, 2023 · 1 comment · Fixed by #4
Closed

Autofix yes flag does not seem to be working #3

mohkale opened this issue May 8, 2023 · 1 comment · Fixed by #4

Comments

@mohkale
Copy link

mohkale commented May 8, 2023

Hi,

I'm using

$ nerdfix --version
nerdfix 0.2.3
cheat-sheet: 634e151

To autofix a file containing icons at /tmp/all2 by running nerdfix fix -y /tmp/all2 but it seems to prompt me interactively no matter what I try.

loichyan added a commit that referenced this issue May 9, 2023
The original `--yes` is replaced with `--write`.
@loichyan
Copy link
Owner

loichyan commented May 9, 2023

Should be fixed in #4. The --yes argument is used to confirm whether to write patched content, which is a bit confusing. So I replaced it with --write and added --select-first, combining the two should skip all possible prompts.

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 a pull request may close this issue.

2 participants