From 9fccf98f78ea3853c0e15788e39c38d31fe393fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rasmus=20Skytte=20Randl=C3=B8v?= Date: Wed, 7 Feb 2024 12:30:38 +0100 Subject: [PATCH] fix(code-coverage): Fix awk syntax error - part 3 --- .github/workflows/code-coverage.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/code-coverage.yaml b/.github/workflows/code-coverage.yaml index c3a49de0..07811961 100644 --- a/.github/workflows/code-coverage.yaml +++ b/.github/workflows/code-coverage.yaml @@ -190,7 +190,7 @@ jobs: ## -------------------------------------------------------------------- log=$(find ./logs-docs/ -name 'postgres*.log') - awk '/(ERROR:|STATEMENT:)/{flag=1}/LOG:|^ [A-Z]/{flag=0}flag {print $0}' $log + awk '/(ERROR:|STATEMENT:)/{flag=1}/LOG:|^[A-Z]/{flag=0}flag {print $0}' $log # Throw errors on ERRORs grep -qv "ERROR" $log || { echo "PostgreSQL backend threw ERRORs"; exit 1; }