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

Fix nosec directive when applied to a block #1153

Merged
merged 1 commit into from
May 28, 2024

Conversation

ccojocar
Copy link
Member

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

fixes #1105

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

Signed-off-by: Cosmin Cojocar <cosmin@cojocar.ch>
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

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

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

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

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@ccojocar ccojocar merged commit ac75d44 into securego:master May 28, 2024
6 checks passed
@ccojocar ccojocar deleted the fix-nonsec-block branch May 28, 2024 10:54
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.

nosec statement ignored when additionally defined in front of function, const or variable segment
2 participants