Make verify-generated-swagger-docs use worktree

Also move a function into these files that was only used in the one
place.
This commit is contained in:
Tim Hockin
2022-09-11 20:36:02 -07:00
parent d2504c94a0
commit b5c5913db0
4 changed files with 65 additions and 127 deletions

View File

@@ -159,7 +159,9 @@ skipped_dirs = ['third_party', '_gopath', '_output', '.git', 'cluster/env.sh',
# list all the files contain 'DO NOT EDIT', but are not generated
skipped_ungenerated_files = [
'hack/lib/swagger.sh', 'hack/boilerplate/boilerplate.py']
'hack/update-generated-swagger-docs.sh',
'hack/boilerplate/boilerplate.py'
]
def normalize_files(files):