Fix reviewer's bug catches

pull/21012/head
Lidi Zheng 5 years ago
parent 4a48e7be8b
commit c9c7f9b69b
  1. 2
      tools/distrib/buildifier_format_code.sh
  2. 2
      tools/run_tests/sanity/check_buildifier.sh

@ -45,7 +45,7 @@ function download_buildifier() {
}
# Get the correct versino of buildifier
# Get the correct version of buildifier
if [ -x "$(command -v buildifier)" ]; then
existing_buildifier_version="$(buildifier -version 2>&1 | head -n1 | cut -d" " -f3)"
if [[ "${existing_buildifier_version}" != "${BUILDIFIER_VERSION}" ]]; then

@ -24,7 +24,7 @@ result=$?
if [[ ${result} != 0 ]]; then
echo "==========BUILDIFIER CHECK FAILED=========="
echo "Recommend to use following script to fix automatically:"
echo "Please try using the following script to fix automatically:"
echo ""
echo " tools/distrib/buildifier_format_code.sh"
echo ""

Loading…
Cancel
Save