Skip to content

godox: trim filepath from report messages #5977

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

Merged
merged 1 commit into from
Aug 9, 2025

Conversation

ldez
Copy link
Member

@ldez ldez commented Aug 6, 2025

Fixes #5976

@ldez ldez added this to the v2-unreleased milestone Aug 6, 2025
@ldez ldez added enhancement New feature or improvement linter: update Update the linter implementation inside golangci-lint labels Aug 6, 2025
@bombsimon
Copy link
Member

Shouldn't this be fixed upstream? Or is it abandoned?

@ldez ldez requested a review from bombsimon August 9, 2025 21:49
@ldez
Copy link
Member Author

ldez commented Aug 9, 2025

It will not be fixed upstream because this is a part of the expected output of this linter.

@bombsimon
Copy link
Member

I guess I mean why do the linter expect relative/short path on Linux but full path on macOS. That's just inconsistency to me.

But yes I agree the linter expects to show which file and line is affected and no matter the format it will be duplicated info in golangci-lint which isn't needed so 🤷

@ldez ldez merged commit ef6ead8 into golangci:main Aug 9, 2025
18 checks passed
@ldez ldez deleted the feat/godox-trim-message branch August 9, 2025 22:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or improvement linter: update Update the linter implementation inside golangci-lint
Projects
None yet
Development

Successfully merging this pull request may close these issues.

godox: report print absolute path
2 participants