From a6f802af72d4fe82f58e3339770fea82e4b39ca5 Mon Sep 17 00:00:00 2001 From: dylan Date: Tue, 9 Apr 2024 15:09:47 -0700 Subject: [PATCH] fix: remove config keys from generated config if they have value null or undefined --- asconfig/generate.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/asconfig/generate.go b/asconfig/generate.go index f181676..0f68ec2 100644 --- a/asconfig/generate.go +++ b/asconfig/generate.go @@ -572,7 +572,7 @@ func (s *transformKeyValuesStep) execute(conf Conf) error { } if undefinedOrNull(value) { - value = "" + continue } if isTypedSection(key) {