mirror of
https://github.com/tuneinsight/lattigo.git
synced 2025-09-13 03:27:14 +00:00
Cleared all instances of G115
This commit is contained in:
4
Makefile
4
Makefile
@@ -55,9 +55,9 @@ checks: check_tools
|
||||
|
||||
# gosec rule G115: Is exluded because there are int->uin64 conversions
|
||||
# and the rule currently contains false positives
|
||||
@GOSECOUT=$$(gosec -quiet -exclude=G115 ./...); \
|
||||
@GOSECOUT=$$(gosec -quiet ./...); \
|
||||
if [ -z "$$GOSECOUT" ]; then\
|
||||
echo "gosec: OK (excluding G115)";\
|
||||
echo "gosec: OK";\
|
||||
else \
|
||||
echo "gosec: problems in files:";\
|
||||
echo "$$GOSECOUT";\
|
||||
|
||||
Reference in New Issue
Block a user