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

Move gosec annotation so that it continues to work. #438

Merged
merged 1 commit into from
Mar 5, 2024

Conversation

sengi
Copy link
Contributor

@sengi sengi commented Mar 5, 2024

Seems the semantics of gosec's exclusion comments subtly changed recently :/ Moving the comment inside the block / directly above the statement it applies to seems to fix it.

Seems the semantics of gosec's exclusion comments subtly changed
recently :/ Moving the comment inside the block / directly above the
statement it applies to seems to fix it.
@sengi sengi marked this pull request as ready for review March 5, 2024 10:54
@sengi sengi requested review from nimalank7 and dj-maisy March 5, 2024 10:54
@sengi sengi merged commit 5ce0ce9 into main Mar 5, 2024
4 checks passed
@sengi sengi deleted the sengi/gosec-comment branch March 5, 2024 10:56
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.

2 participants