From b813f6b90e1115508d7a2fc9f20e42a67d4d79fa Mon Sep 17 00:00:00 2001 From: decentral1se Date: Tue, 6 Jul 2021 00:04:19 +0200 Subject: [PATCH] Drop additional check This forces the `require yq` to only happen at the start of the top-level functions which makes more sense and is easier to manage. Closes https://git.autonomic.zone/coop-cloud/abra/issues/183. --- abra | 1 - 1 file changed, 1 deletion(-) diff --git a/abra b/abra index b32c339..6c04c98 100755 --- a/abra +++ b/abra @@ -498,7 +498,6 @@ require_docker_version() { } require_valid_yaml() { - require_yq $YQ e "$1" > /dev/null || error "Invalid YAML '$1'" }