diff options
| author | Xiang Dai <long0dai@foxmail.com> | 2020-06-19 11:19:39 +0800 |
|---|---|---|
| committer | Xiang Dai <long0dai@foxmail.com> | 2020-06-19 11:22:17 +0800 |
| commit | 4d4f8a9e8995c8d9ff505dacdd54c23bac9fbd8e (patch) | |
| tree | b7cb196ae37e29286bb4885b19b8df0bb84cad26 /hack/lib/lint.sh | |
| parent | Merge pull request #1829 from daixiang0/debug (diff) | |
| download | kubeedge-4d4f8a9e8995c8d9ff505dacdd54c23bac9fbd8e.tar.gz | |
lint: ignore image files
Signed-off-by: Xiang Dai <long0dai@foxmail.com>
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 9469eed34..5ae0d00f3 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" | xargs --no-run-if-empty sed -i 's/[ \t]*$//' + 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 --name-only) ]] && { echo "Some files have white noise issue, please run `make lint` to check" |
