From 2f2c3d202ea249e28ae1daf110bcb4b021a56456 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Bl=C3=A4cker?= Date: Thu, 5 Sep 2024 11:15:32 +0700 Subject: [PATCH] test --- .github/workflows/verifyAudit.yml | 4 ++-- audit/auditLog.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/verifyAudit.yml b/.github/workflows/verifyAudit.yml index d03d5b4bb..7ff1f846b 100644 --- a/.github/workflows/verifyAudit.yml +++ b/.github/workflows/verifyAudit.yml @@ -182,8 +182,8 @@ jobs: echo "AUDIT_IDS: $AUDIT_IDS" - # Count the number of audits found - AUDIT_COUNT=$(echo "$AUDIT_IDS" | wc -l) + # Properly count the number of audit IDs by splitting on newlines + AUDIT_COUNT=$(echo "$AUDIT_IDS" | tr ' ' '\n' | grep -c .) echo "AUDIT_COUNT: $AUDIT_COUNT" diff --git a/audit/auditLog.json b/audit/auditLog.json index 534c6a881..7a022475b 100644 --- a/audit/auditLog.json +++ b/audit/auditLog.json @@ -27,7 +27,7 @@ "1.0.1": ["audit20240814"] }, "ContractName": { - "1.0.0": ["audit20240814", "audit20240815"] + "1.0.0": ["audit20240814"] } } }