diff --git a/src/modes/generate_config.rs b/src/modes/generate_config.rs index 826e2c1..db30c24 100644 --- a/src/modes/generate_config.rs +++ b/src/modes/generate_config.rs @@ -163,8 +163,8 @@ fn convert_outputs_to_string_map( for (key, value) in outputs { match value { serde_yaml::Value::Null => { - // For null, we want to output "null" as a string - result.insert(key.clone(), "null".to_string()); + // For null, use the key as the value + result.insert(key.clone(), key.clone()); } serde_yaml::Value::String(s) => { result.insert(key.clone(), s.clone());