Fixed sanitize.sh

It has been broken since check_copyright dropped the --fix option.
This script is modified not to use the missing option.
pull/18798/head
Esun Kim 6 years ago
parent 0de83950e6
commit 4b4ecdf3b9
  1. 4
      tools/distrib/sanitize.sh

@ -29,11 +29,11 @@ if [ "x$1" == 'x--pre-commit' ]; then
fi
fi
CHANGED_FILES=$(eval $DIFF_COMMAND) ./tools/distrib/clang_format_code.sh
./tools/distrib/check_copyright.py --fix --precommit
./tools/distrib/check_copyright.py --precommit
./tools/distrib/check_trailing_newlines.sh
else
./tools/buildgen/generate_projects.sh
./tools/distrib/clang_format_code.sh
./tools/distrib/check_copyright.py --fix
./tools/distrib/check_copyright.py
./tools/distrib/check_trailing_newlines.sh
fi

Loading…
Cancel
Save