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

How to fix files on a directory recursively? ( WIN 10 ) #26

Closed
erenpal opened this issue Oct 2, 2024 · 1 comment · Fixed by #27
Closed

How to fix files on a directory recursively? ( WIN 10 ) #26

erenpal opened this issue Oct 2, 2024 · 1 comment · Fixed by #27

Comments

@erenpal
Copy link

erenpal commented Oct 2, 2024

.\nerdfix.exe check --recursive "C:\Program Files\Neovim"

Does checking on a directory but

.\nerdfix.exe fix --recursive "C:\Program Files\Neovim"
gives error
←[33m WARN←[0m Output path is ignored when --recursive: \Program Files\Neovim
←[31mERROR←[0m Failed when traversing directories, IO error for operation on C: The system cannot find the file specified. (os error 2)

@erenpal erenpal changed the title How to fix files on a directory recursively? How to fix files on a directory recursively? ( WIN 10 ) Oct 2, 2024
@loichyan
Copy link
Owner

loichyan commented Oct 2, 2024

ahhh, that’s a bug: nerdfix supports save fixed file to a different path through the nerdfix fix input:output syntax, so C:\Program Files\Neovim is considered as two paths, C and \Program Files\Neovim. I will fix this later. Currently, you can cd C:\Program Files\Neovim and nerdfix fix —recursive . for a workaround.

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