From a1efbc1927e150296bba7403f72a12194639de39 Mon Sep 17 00:00:00 2001 From: Sneha Datta Date: Sun, 22 Sep 2024 14:09:01 +0530 Subject: [PATCH] Fix minor errors --- scripts/buf_lint_check.sh | 2 ++ scripts/buildifier_lint_check.sh | 2 ++ scripts/feature_flags_check.sh | 2 ++ scripts/pre-push.sh | 2 ++ 4 files changed, 8 insertions(+) diff --git a/scripts/buf_lint_check.sh b/scripts/buf_lint_check.sh index b3c6d66cac4..b355f2af16b 100644 --- a/scripts/buf_lint_check.sh +++ b/scripts/buf_lint_check.sh @@ -1,5 +1,7 @@ #!/bin/bash +source scripts/formatting.sh + jar_file_path=$? config_file_path=$? os_type=$? diff --git a/scripts/buildifier_lint_check.sh b/scripts/buildifier_lint_check.sh index d53e6ae324e..b56487f6b2f 100644 --- a/scripts/buildifier_lint_check.sh +++ b/scripts/buildifier_lint_check.sh @@ -1,5 +1,7 @@ #!/bin/bash +source scripts/formatting.sh + echo "********************************" echo "Checking Bazel file formatting" echo "********************************" diff --git a/scripts/feature_flags_check.sh b/scripts/feature_flags_check.sh index 0c6f9c95e84..92b0e07a10e 100644 --- a/scripts/feature_flags_check.sh +++ b/scripts/feature_flags_check.sh @@ -1,5 +1,7 @@ #!/bin/bash +source scripts/formatting.sh + echo "********************************" echo "Running feature flag checks" echo "********************************" diff --git a/scripts/pre-push.sh b/scripts/pre-push.sh index 52f80ad560f..ea2878926de 100755 --- a/scripts/pre-push.sh +++ b/scripts/pre-push.sh @@ -1,5 +1,7 @@ #!/bin/bash +source scripts/formatting.sh + # This script will run the pre-push checks in the given order # - ktlint # - checkstyle