Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump line limit for generated_go (#4857)
In some cases (e.g. the Cilium project) the `Code generated by` comment appears after a license header. This header might be longer than 10 lines which generated_go currently searches for this comment. Bump the limit to 40 lines (roughly corresponding to the length of the BSD 4-clause header + some slack) to detect these cases. Suggested by Paul Chaignon in cilium/cilium#11326 (comment)
- Loading branch information