Chore: fix shellchecks (#83421)

This commit is contained in:
Stephanie Hingtgen
2024-02-26 08:59:55 -08:00
committed by GitHub
parent b3363543ea
commit e295c38a6e
2 changed files with 10 additions and 2 deletions
+9 -1
View File
@@ -17,7 +17,15 @@ while IFS=" " read -r -a package; do
CURRENT="./pr/$PACKAGE_PATH"
# Temporarily skipping these packages as they don't have any exposed static typing
if [[ ${SKIP_PACKAGES[@]} =~ "$PACKAGE_PATH" ]]; then
SKIP_PACKAGE_FOUND=0
for skip_pkg in "${SKIP_PACKAGES[@]}"; do
if [[ "$PACKAGE_PATH" == "$skip_pkg" ]]; then
SKIP_PACKAGE_FOUND=1
break
fi
done
if [[ $SKIP_PACKAGE_FOUND -eq 1 ]]; then
continue
fi