Skip to content

Commit

Permalink
chore: suppress warnings for unused imports when running protoc
Browse files Browse the repository at this point in the history
  • Loading branch information
jingyih committed Feb 6, 2025
1 parent 5a70b18 commit f1450a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dev/tools/controllerbuilder/generate-proto.sh
Original file line number Diff line number Diff line change
Expand Up @@ -80,4 +80,4 @@ protoc --include_imports --include_source_info \
${THIRD_PARTY}/googleapis/google/monitoring/dashboard/v1/*.proto \
${THIRD_PARTY}/googleapis/google/devtools/cloudbuild/*/*.proto \
${THIRD_PARTY}/googleapis/google/spanner/admin/instance/v1/*.proto \
-o ${OUTPUT_PATH}
-o ${OUTPUT_PATH} 2> >(grep -v "Import .* is unused" >&2)

0 comments on commit f1450a1

Please sign in to comment.