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

feat: support trailing line comment for mage:import #480

Merged
merged 1 commit into from Sep 12, 2023

Conversation

anuraaga
Copy link
Contributor

@anuraaga anuraaga commented Sep 6, 2023

Currently, //mage:import is only read from leading doc comments for an import statement, not trailing line comments. This makes it incompatible with tools like gosimports. It seems reasonable to support line comments too and is luckily not difficult

@anuraaga
Copy link
Contributor Author

anuraaga commented Sep 8, 2023

@natefinch or anyone wondering if you'll get a chance to review this PR? I noticed many PRs haven't had any comments for some months so perhaps this project is unmaintained now - it happens, but hoping to be able to confirm it. Thanks.

Copy link
Member

@natefinch natefinch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@anuraaga
Copy link
Contributor Author

Thanks a lot @natefinch! Just wondering if there's anything left to do to merge. Cheers

@natefinch natefinch merged commit 9f54e0f into magefile:master Sep 12, 2023
16 checks passed
@natefinch
Copy link
Member

Nope! I guess I forgot to hit the button:)

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.

None yet

2 participants