Skip to content

Commit

Permalink
Merge pull request #6811 from xichengliudui/delete-function-script-ke…
Browse files Browse the repository at this point in the history
…yword

Delete the function keyword to prevent shellcheck from failing
  • Loading branch information
k8s-ci-robot authored Jul 19, 2019
2 parents 3fc7fb7 + 2aab2d1 commit 5340fc2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion hack/make-apimachinery.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

WORK_DIR=`mktemp -d`

function cleanup {
cleanup() {
rm -rf "$WORK_DIR"
}
trap cleanup EXIT
Expand Down
2 changes: 1 addition & 1 deletion hack/make-gendocs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

WORK_DIR=`mktemp -d`

function cleanup {
cleanup() {
rm -rf "$WORK_DIR"
}
trap cleanup EXIT
Expand Down

0 comments on commit 5340fc2

Please sign in to comment.