-
-
Notifications
You must be signed in to change notification settings - Fork 72
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
Single import becomes a list of imports #144
Comments
Ericwww
added a commit
to Ericwww/goimports-reviser
that referenced
this issue
Dec 11, 2023
Ericwww
added a commit
to Ericwww/goimports-reviser
that referenced
this issue
Dec 11, 2023
Ericwww
added a commit
to Ericwww/goimports-reviser
that referenced
this issue
Dec 11, 2023
I'm trying to fix it. All unit tests (including the ones I added) passed. |
thanks @Ericwww |
Ericwww
added a commit
to Ericwww/goimports-reviser
that referenced
this issue
Jan 6, 2024
Can i bump this? We're blocked on upgrading our version until this this is fixed. Thanks 🙏 |
Ericwww
added a commit
to Ericwww/goimports-reviser
that referenced
this issue
Jan 23, 2024
Ericwww
added a commit
to Ericwww/goimports-reviser
that referenced
this issue
Jan 23, 2024
Ericwww
added a commit
to Ericwww/goimports-reviser
that referenced
this issue
Jan 23, 2024
incu6us
pushed a commit
that referenced
this issue
Jan 24, 2024
thanks for your efforts @Ericwww |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @incu6us
Sorry to bother you again.
I would like to use
goimports-reviser
as a replacement forgoimports
.But at the single import situation, their behavior is inconsistent.
For example,
When I run
goimports
, the result is the same as above.But when I run
goimports-reviser
, the result will beA single import becomes a list of imports, but there is only one import in the list.
I think the problem is at reviser/file.go:378, function: #rebuildImports
The text was updated successfully, but these errors were encountered: