Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
0xDEnYO committed Sep 5, 2024
1 parent 4300afa commit c837321
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/verifyAudit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,12 @@ jobs:
echo "AUDIT_IDS: ($AUDIT_IDS)"
# Count the number of audits found
AUDIT_COUNT=$(echo "$AUDIT_IDS" | grep -c '^[^[:space:]]')
if [[ -z "$AUDIT_IDS" ]]; then
AUDIT_COUNT=0
else
# Properly count the number of non-empty audit IDs using awk
AUDIT_COUNT=$(echo "$AUDIT_IDS" | wc -l)
fi
echo "AUDIT_COUNT: $AUDIT_COUNT"
Expand Down

0 comments on commit c837321

Please sign in to comment.