-
-
Notifications
You must be signed in to change notification settings - Fork 621
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
v2.16.0 - #nosec and -nosec-tag seems to not work like before #961
Comments
@chinchila Does the |
Yes, if the comment is |
The
|
So I can't comment like |
Normally the tags prepended before The #nosec tag should be already covered by unit tests. |
The
It seems that currently gosec is checking only the start of the string, if it starts with |
I highly appreciate your help! |
Hello friends, in the newest versions it seems that the
#nohusky
does not work when a comment has other strings in it for example, same applies for a custom tag set with-nosec-tag
, is this intended behaviour? A version which this works isv2.3.0
. Examples of output:the command that I'm running is
gosec -nosec-tag nohusky -quiet -log=log.txt ./...
.The text was updated successfully, but these errors were encountered: