Skip to content

Commit 5037fb4

Browse files
dhaiducekopenshift-merge-bot[bot]
authored andcommitted
Sync common Makefile
Signed-off-by: Dale Haiducek <[email protected]>
1 parent 43cb920 commit 5037fb4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build/common/Makefile.common.mk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ fmt-dependencies:
7474
fmt: fmt-dependencies
7575
find . -not \( -path "./.go" -prune \) -name "*.go" | xargs gofmt -s -w
7676
find . -not \( -path "./.go" -prune \) -name "*.go" | xargs gofumpt -l -w
77-
find . -not \( -path "./.go" -prune \) -name "*.go" | xargs gci write -s standard -s default -s "prefix($(shell cat go.mod | head -1 | cut -d " " -f 2))"
77+
find . -not \( -path "./.go" -prune \) -name "*.go" | xargs gci write --skip-generated -s standard -s default -s "prefix($(shell cat go.mod | head -1 | cut -d " " -f 2))"
7878

7979
############################################################
8080
# Unit Test
@@ -103,7 +103,7 @@ gosec:
103103

104104
.PHONY: gosec-scan
105105
gosec-scan: gosec
106-
$(GOSEC) -fmt sonarqube -out gosec.json -stdout -exclude-dir=.go -exclude-dir=test ./...
106+
$(GOSEC) -fmt sonarqube -out gosec.json -stdout -exclude-dir=.go -exclude-dir=test $(GOSEC_ARGS) ./...
107107

108108
############################################################
109109
# E2E Test

0 commit comments

Comments
 (0)