From ffe26b4043f95be4b8388d5540255b88fbf09a4a Mon Sep 17 00:00:00 2001 From: Chris Brame Date: Wed, 6 Mar 2019 17:54:27 -0500 Subject: [PATCH] fix(docker): env var --- src/helpers/hbs/helpers.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/helpers/hbs/helpers.js b/src/helpers/hbs/helpers.js index 4bad268e0..40b836e43 100644 --- a/src/helpers/hbs/helpers.js +++ b/src/helpers/hbs/helpers.js @@ -618,7 +618,7 @@ var helpers = { }, isNotTrue: function (obj, options) { - if (!(_.isUndefined(obj) || _.isNull(obj) || obj === true || obj === 'true')) return options.fn(this) + if (obj === true || obj.toLowerCase() === 'true') return options.fn(this) return options.inverse(this) },