From 8b3fc58258cbf966a3855c4ba8b9c89dbf4b0f5a Mon Sep 17 00:00:00 2001 From: Luke Francl Date: Fri, 8 Oct 2021 14:14:32 -0700 Subject: [PATCH] sigh use -z --- .github/workflows/sync-linguist.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/sync-linguist.yml b/.github/workflows/sync-linguist.yml index a63d701..c6c40f6 100644 --- a/.github/workflows/sync-linguist.yml +++ b/.github/workflows/sync-linguist.yml @@ -32,7 +32,7 @@ jobs: grep -v "-" | \ sort --version-sort --reverse | \ head -1) - if [[ -n $latest ]]; then + if [[ -z $latest ]]; then echo "could not determine latest Linguist version" exit 1 fi