From 29d478fa9d42bab99aae10abefe18a3f99048061 Mon Sep 17 00:00:00 2001 From: David Sangrey Date: Tue, 28 May 2024 20:59:03 -0400 Subject: [PATCH] Update push-checks.yml --- .github/workflows/push-checks.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/push-checks.yml b/.github/workflows/push-checks.yml index 6c34c1e0d..11cacd205 100644 --- a/.github/workflows/push-checks.yml +++ b/.github/workflows/push-checks.yml @@ -75,7 +75,7 @@ jobs: output=$(python ./scripts/find_localised_strings.py --compare-lang L10n/en.template --directory . --ignore coriolis-data) echo "$output" echo ${#output} - if [ -n "$output" ]; then + if [ "${#str}" -gt 0 ]; then echo "$output" echo "error should have been detected" exit 1