Skip to content

Commit b2c718f

Browse files
update yq version checking expression
1 parent 9679d0e commit b2c718f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

spec/spec_helper.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ spec_helper_configure() {
2525
(( "${BASH_VERSINFO[0]}" >= 4 )) || error_and_exit "[ERROR] bash v4 or higher is required (found version $BASH_VERSION)"
2626
command -v jq >/dev/null || error_and_exit "[ERROR] unable to locate jq binary (https://stedolan.github.io/jq/)"
2727
command -v yq >/dev/null || error_and_exit "[ERROR] unable to locate yq binary (https://github.com/mikefarah/yq)"
28-
[[ "$(yq --version)" != *"version 4"* ]] && error_and_exit "[ERROR] yq v4 is required (found $(yq --version))"
28+
[[ "$(yq --version)" != *"version v4"* ]] && error_and_exit "[ERROR] yq v4 is required (found $(yq --version))"
2929

3030
# Negation helper function
3131
not() {

0 commit comments

Comments
 (0)