Skip to content

Commit 70ef789

Browse files
Merge pull request #122729 from jparrill/HOSTEDCP-336
Kube codegen tool now ignore the vendor folder by default on code generation Kubernetes-commit: f84b2f0254c193dc7a70081d4eeceb8e69e984bc
2 parents a748e41 + 36c8049 commit 70ef789

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kube_codegen.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ function kube::codegen::internal::git_find() {
3333
function kube::codegen::internal::git_grep() {
3434
# We want to include modified and untracked files because this might be
3535
# running against code which is not tracked by git yet.
36-
git grep --untracked "$@"
36+
git grep --untracked "$@" ":(exclude)vendor/"
3737
}
3838

3939
# Generate tagged helper code: conversions, deepcopy, and defaults

0 commit comments

Comments
 (0)