commit | cbbd49a957a685c94cc431916de1c697e49f66cd | [log] [tgz] |
---|---|---|
author | Allen Wittenauer <aw@apache.org> | Wed Aug 14 21:43:12 2019 -0700 |
committer | GitHub <noreply@github.com> | Wed Aug 14 21:43:12 2019 -0700 |
tree | c80af3d67f0290029f86607bad574ca76aaa162a | |
parent | e8f542b3c183a196263dd08a9726536d394b63f6 [diff] |
YETUS-903. revive/golang/golanci aren't removing options from the stack (#71)
diff --git a/precommit/src/main/shell/test-patch.d/golang.sh b/precommit/src/main/shell/test-patch.d/golang.sh index 2b67365..ec6717e 100755 --- a/precommit/src/main/shell/test-patch.d/golang.sh +++ b/precommit/src/main/shell/test-patch.d/golang.sh
@@ -42,6 +42,7 @@ case ${i} in --golang-go=*) GOEXE=${i#*=} + delete_parameter "${i}" ;; esac done
diff --git a/precommit/src/main/shell/test-patch.d/golangci.sh b/precommit/src/main/shell/test-patch.d/golangci.sh index 462dbb0..671cab4 100644 --- a/precommit/src/main/shell/test-patch.d/golangci.sh +++ b/precommit/src/main/shell/test-patch.d/golangci.sh
@@ -43,9 +43,11 @@ case ${i} in --golangcilint=*) GOLANGCI_LINT=${i#*=} + delete_parameter "${i}" ;; --golangcilint-config=*) GOLANGCI_CONFIG=${i#*=} + delete_parameter "${i}" ;; esac done
diff --git a/precommit/src/main/shell/test-patch.d/revive.sh b/precommit/src/main/shell/test-patch.d/revive.sh index 4c5ef95..71901e4 100755 --- a/precommit/src/main/shell/test-patch.d/revive.sh +++ b/precommit/src/main/shell/test-patch.d/revive.sh
@@ -36,9 +36,11 @@ case ${i} in --revive=*) REVIVE=${i#*=} + delete_parameter "${i}" ;; --revive-config=*) REVIVE_CONFIG=${i#*=} + delete_parameter "${i}" ;; esac done