diff --git a/migration/run_clang_tidy_common.sh b/migration/run_clang_tidy_common.sh index be07e974a..aa2ce4966 100755 --- a/migration/run_clang_tidy_common.sh +++ b/migration/run_clang_tidy_common.sh @@ -2,8 +2,8 @@ set -euo pipefail echo "Ensuring clang-tidy and clang-format are installed" -apt-get update -apt-get install -y clang-tidy clang-format || true +sudo apt-get update +sudo apt-get install -y clang-tidy clang-format || true BUILD_DIR=/repo/build_migrate_Lts_Common if [ ! -f "$BUILD_DIR/compile_commands.json" ]; then