From 3ef358bb2f7ab7c4ef554f7ee19cd94acf29c0ae Mon Sep 17 00:00:00 2001 From: Joakim Roubert Date: Mon, 18 May 2020 22:13:41 +0200 Subject: [PATCH] bin/protoc-go.sh: Fix shellcheck error (#4420) Signed-off-by: Joakim Roubert --- .github/workflows/static_checks.yml | 1 - bin/protoc-go.sh | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/static_checks.yml b/.github/workflows/static_checks.yml index 5a12e213f..bc17a09d4 100644 --- a/.github/workflows/static_checks.yml +++ b/.github/workflows/static_checks.yml @@ -85,7 +85,6 @@ jobs: ! -name lint \ ! -name _log.sh \ ! -name minikube-start-hyperv.bat \ - ! -name protoc-go.sh \ ! -name _tag.sh \ ! -name test-cleanup \ ! -name test-clouds \ diff --git a/bin/protoc-go.sh b/bin/protoc-go.sh index 784072e23..f6b9a876a 100755 --- a/bin/protoc-go.sh +++ b/bin/protoc-go.sh @@ -3,7 +3,7 @@ set -eu gen() { - for f in $@; do + for f in "$@"; do bin/protoc -I proto --go_out=plugins=grpc,paths=source_relative:controller/gen "$f" done }