sigh use -z

This commit is contained in:
Luke Francl 2021-10-08 14:14:32 -07:00
parent c6f7913c28
commit 8b3fc58258

View File

@ -32,7 +32,7 @@ jobs:
grep -v "-" | \ grep -v "-" | \
sort --version-sort --reverse | \ sort --version-sort --reverse | \
head -1) head -1)
if [[ -n $latest ]]; then if [[ -z $latest ]]; then
echo "could not determine latest Linguist version" echo "could not determine latest Linguist version"
exit 1 exit 1
fi fi