mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-04 01:40:07 +00:00
Merge pull request #122729 from jparrill/HOSTEDCP-336
Kube codegen tool now ignore the vendor folder by default on code generation
This commit is contained in:
commit
f84b2f0254
@ -33,7 +33,7 @@ function kube::codegen::internal::git_find() {
|
|||||||
function kube::codegen::internal::git_grep() {
|
function kube::codegen::internal::git_grep() {
|
||||||
# We want to include modified and untracked files because this might be
|
# We want to include modified and untracked files because this might be
|
||||||
# running against code which is not tracked by git yet.
|
# running against code which is not tracked by git yet.
|
||||||
git grep --untracked "$@"
|
git grep --untracked "$@" ":(exclude)vendor/"
|
||||||
}
|
}
|
||||||
|
|
||||||
# Generate tagged helper code: conversions, deepcopy, and defaults
|
# Generate tagged helper code: conversions, deepcopy, and defaults
|
||||||
|
Loading…
Reference in New Issue
Block a user