Ignore changes to ThirdPartyLicenses in go generate check (#10743)

This commit is contained in:
Felix Becker 2020-05-15 20:41:56 +02:00 committed by GitHub
parent 4892a5c43b
commit c92f57caa6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,7 +14,7 @@ main() {
# Runs generate.sh and ensures no files changed. This relies on the go
# generation that ran are idempotent.
./dev/generate.sh
git diff --exit-code -- . ':!go.sum'
git diff --exit-code -- . ':!go.sum' ':!ThirdPartyLicensesNpm.csv'
}
main "$@"