Skip to content

Commit a71b490

Browse files
committed
ci: disable g602 gosec
1 parent e54dd6c commit a71b490

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ checks: check_tools
5353
false;\
5454
fi
5555

56-
@GOSECOUT=$$(gosec -quiet ./...); \
56+
@GOSECOUT=$$(gosec -quiet -exclude=G602 ./...); \
5757
if [ -z "$$GOSECOUT" ]; then\
5858
echo "gosec: OK";\
5959
else \
@@ -83,4 +83,4 @@ get_tools:
8383
.PHONY: check_tools
8484
check_tools:
8585
@$(foreach exec,$(EXECUTABLES),\
86-
$(if $(shell which $(exec)),true,$(error "$(exec) not found in PATH, consider running `make get_tools`.")))
86+
$(if $(shell which $(exec)),true,$(error "$(exec) not found in PATH, consider running `make get_tools`.")))

0 commit comments

Comments
 (0)