diff options
| author | Liangshuang <liangshuang889@163.com> | 2020-07-02 14:19:13 +0800 |
|---|---|---|
| committer | Liangshuang <liangshuang889@163.com> | 2020-07-02 14:19:13 +0800 |
| commit | 919cd83576852dcf865f45b4200382c27e9f0ee3 (patch) | |
| tree | 283cb0f18def459ff57ce7911ce997ec1b1c3579 /hack/lib/lint.sh | |
| parent | Merge pull request #1805 from daixiang0/edgemesh (diff) | |
| download | kubeedge-919cd83576852dcf865f45b4200382c27e9f0ee3.tar.gz | |
update lint.sh
Diffstat (limited to 'hack/lib/lint.sh')
| -rw-r--r-- | hack/lib/lint.sh | 2 |
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" |
