summaryrefslogtreecommitdiff
path: root/hack/lib/lint.sh
diff options
context:
space:
mode:
authorLiangshuang <liangshuang889@163.com>2020-07-02 14:19:13 +0800
committerLiangshuang <liangshuang889@163.com>2020-07-02 14:19:13 +0800
commit919cd83576852dcf865f45b4200382c27e9f0ee3 (patch)
tree283cb0f18def459ff57ce7911ce997ec1b1c3579 /hack/lib/lint.sh
parentMerge pull request #1805 from daixiang0/edgemesh (diff)
downloadkubeedge-919cd83576852dcf865f45b4200382c27e9f0ee3.tar.gz
update lint.sh
Diffstat (limited to 'hack/lib/lint.sh')
-rw-r--r--hack/lib/lint.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/hack/lib/lint.sh b/hack/lib/lint.sh
index c51874f87..461d6211d 100644
--- a/hack/lib/lint.sh
+++ b/hack/lib/lint.sh
@@ -24,7 +24,7 @@ kubeedge::lint::check() {
cd ${KUBEEDGE_ROOT}
# skip deleted files
set +o pipefail
- git diff --cached --name-only --diff-filter=ACRMTU master | grep -Ev "externalversions|fake|vendor|images" | xargs --no-run-if-empty sed -i 's/[ \t]*$//'
+ git diff --cached --name-only --diff-filter=ACRMTU master | grep -Ev "externalversions|fake|vendor|images|adopters" | xargs --no-run-if-empty sed -i 's/[ \t]*$//'
[[ $(git diff --name-only) ]] && {
echo "Some files have white noise issue, please run \`make lint\` to check"