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

no Go files in #153

Open
justfunxin opened this issue Apr 9, 2024 · 1 comment
Open

no Go files in #153

justfunxin opened this issue Apr 9, 2024 · 1 comment

Comments

@justfunxin
Copy link

error happend no Go files in when use option -rm-unused, but it will work remove this option

PS D:\yun> goimports-reviser -format ./cmd/main.go                      
PS D:\yun> goimports-reviser -rm-unused -format ./cmd/main.go
-: no Go files in
2024/04/09 17:16:11 Failed to fix file: package has an errors
PS D:\yun> goimports-reviser -rm-unused -set-alias -format ./cmd/main.go
-: no Go files in
2024/04/09 17:16:23 Failed to fix file: package has an errors
PS D:\yun>
@incu6us
Copy link
Owner

incu6us commented Nov 22, 2024

@justfunxin try to update the tool. should be fixed in the newest versions

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

No branches or pull requests

2 participants