From 8f4d9b37d2a5eaf07fc0708379c2dd492eea7594 Mon Sep 17 00:00:00 2001 From: Hongchao Deng Date: Fri, 16 Oct 2020 15:24:59 -0700 Subject: [PATCH] fix --- hack/unit_test.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) mode change 100644 => 100755 hack/unit_test.sh diff --git a/hack/unit_test.sh b/hack/unit_test.sh old mode 100644 new mode 100755 index 402dfcf68..ae79e3d91 --- a/hack/unit_test.sh +++ b/hack/unit_test.sh @@ -6,8 +6,8 @@ echo "" > coverage.txt for d in $(go list ./pkg/... ./cmd/...); do go test -race -coverprofile=profile.out -covermode=atomic $d if [ -f profile.out ]; then - cat profile.out >> coverage.txt - rm profile.out + cat profile.out >> coverage.txt + rm profile.out fi done