From e70e13e2659c4906bb9716732a0a865f344d8387 Mon Sep 17 00:00:00 2001 From: Christian Winther Date: Wed, 17 Jan 2024 14:52:22 +0000 Subject: [PATCH] possible fix is-false/true logic --- docker/shared/root/docker/helpers.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docker/shared/root/docker/helpers.sh b/docker/shared/root/docker/helpers.sh index ea3a726cd..50fd3b1d9 100644 --- a/docker/shared/root/docker/helpers.sh +++ b/docker/shared/root/docker/helpers.sh @@ -491,6 +491,8 @@ function show-call-stack() { # @see as-boolean function is-true() { as-boolean "${1:-}" && return 0 + + return 1 } # @description Helper function see if $1 could be considered falsey @@ -498,6 +500,8 @@ function is-true() { # @see as-boolean function is-false() { as-boolean "${1:-}" || return 0 + + return 1 } # @description Helper function see if $1 could be truethy or falsey.