Skip to content

Commit

Permalink
Fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
danfuzz committed Dec 15, 2023
1 parent bbca3e3 commit 6d9bbd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/lib/bashy-basics/_prereqs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jqVersion="$(jq 2>/dev/null --version)" \
return 1
}

if ! [[ ${jqVersion} =~ ^jq-1.[6-9]([.].*)$ ]]; then
if ! [[ ${jqVersion} =~ ^jq-1.[6-9]([.].*)?$ ]]; then
error-msg '`jq` must be version 1.6 or later.'
exit 1
fi

0 comments on commit 6d9bbd7

Please sign in to comment.