Fix deprecated buf command-line parameterization [KVL-980] (#10447)

* Call simply `buf breaking` to avoid warning.

* Comment tidying.
CHANGELOG_BEGIN
CHANGELOG_END
This commit is contained in:
Miklos 2021-08-03 11:17:06 +02:00 committed by GitHub
parent b4b4a94fe6
commit 24d38993e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

4
fmt.sh
View File

@ -155,8 +155,8 @@ run scalafmt "${scalafmt_args[@]:-}"
# check for Bazel build files code formatting
run bazel run "$buildifier_target"
# Run buf checks.
run buf check breaking --against "${buf_image}"
# Check for breaking proto changes.
run buf breaking --against "${buf_image}"
# Note that we cannot use a symlink here because Windows.
if ! diff .bazelrc compatibility/.bazelrc >/dev/null; then