securego / gosec

Go security checker
https://securego.io
Apache License 2.0
7.71k stars 606 forks source link

Fix nosec directive when applied to a block #1153

Closed ccojocar closed 3 months ago

ccojocar commented 3 months ago

Handle properly nosec directive when applied to a block or as a single line on a multi-line issue.

fixes #1105

codecov-commenter commented 3 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 68.85%. Comparing base (ed3f51e) to head (0c2dafb).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #1153 +/- ## ======================================= Coverage 68.85% 68.85% ======================================= Files 69 69 Lines 3814 3814 ======================================= Hits 2626 2626 Misses 1069 1069 Partials 119 119 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.