Skip to content

Commit

Permalink
chore: more spaces means more better
Browse files Browse the repository at this point in the history
Signed-off-by: Zack Koppert <[email protected]>
  • Loading branch information
zkoppert committed Apr 16, 2024
1 parent 33529fc commit bef68c0
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/scripts/env_vars_check.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ NC='\033[0m' # No Color

# Loop through each file
for file in $files; do
# Search for instances of get_env_vars() with no arguments
result=$(grep -n "get_env_vars()" "$file")
# Search for instances of get_env_vars() with no arguments
result=$(grep -n "get_env_vars()" "$file")

# If any instances are found, print the file name and line number
if [ -n "$result" ]; then
echo "Found in $file:"
echo "$result"
echo -e "${RED}ERROR: get_env_vars() should always set test=True in test*.py files.${NC}"
exit 1
fi
# If any instances are found, print the file name and line number
if [ -n "$result" ]; then
echo "Found in $file:"
echo "$result"
echo -e "${RED}ERROR: get_env_vars() should always set test=True in test*.py files.${NC}"
exit 1
fi
done
echo -e " ${GREEN}PASS:${NC} All test*.py files call get_env_vars() with test=True."

0 comments on commit bef68c0

Please sign in to comment.