From 8165e4804856a9c060ddf09653884f3bd9407a4b Mon Sep 17 00:00:00 2001 From: Mark Sandell Date: Sun, 5 Sep 2021 12:57:28 -0700 Subject: [PATCH] [BUG] allow setting composer variable to nil Signed-off-by: Mark Sandell --- composer.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.lua b/composer.lua index 3705744..10802c6 100644 --- a/composer.lua +++ b/composer.lua @@ -1601,7 +1601,7 @@ lib.printMemUsage = function() end lib.setVariable = function( key, value ) - if nil ~= key and nil ~= value then + if nil ~= key then lib.variables[ key ] = value end end