diff --git a/lint b/lint index 22deea8b2..05adb45c6 100755 --- a/lint +++ b/lint @@ -148,7 +148,7 @@ function lint_files { function list_files { if [ $# -gt 0 ]; then - find "$@" -type f | grep -vE '(^\./\.git|^\./\.pkg|/vendor/)' + find "$@" -type f | grep -vE '(^\./\.git|^\./\.pkg|/vendor/|codecgen.go$)' else git diff --cached --name-only fi