diff options
| author | xufei 00416946 <xufei40@huawei.com> | 2020-12-11 15:23:31 +0800 |
|---|---|---|
| committer | fisherxu <xufei40@huawei.com> | 2020-12-11 17:50:56 +0800 |
| commit | d9389fa6af79403c6ad5bb49f2fd73b072c626b2 (patch) | |
| tree | 55fd4964935a0b316c3148c2b26374247212f3a6 /hack/make-rules/lint.sh | |
| parent | Merge pull request #2422 from daixiang0/fix-ci (diff) | |
| download | kubeedge-d9389fa6af79403c6ad5bb49f2fd73b072c626b2.tar.gz | |
install golangci-lint
Diffstat (limited to 'hack/make-rules/lint.sh')
| -rwxr-xr-x | hack/make-rules/lint.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/hack/make-rules/lint.sh b/hack/make-rules/lint.sh index e575a6a46..2b2c7b9a3 100755 --- a/hack/make-rules/lint.sh +++ b/hack/make-rules/lint.sh @@ -22,5 +22,10 @@ set -o pipefail KUBEEDGE_ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/../.." && pwd -P)" source "${KUBEEDGE_ROOT}/hack/lib/init.sh" +source "${KUBEEDGE_ROOT}/hack/lib/install.sh" + +set +e +check_golangci-lint +set -e kubeedge::lint::check "$@" |
