template: WithoutLogging also silences nested substitutions

The warning for a variable that is not set was still emitted when the
variable appeared in a default value, an alternative value or the text
following a braced expression, even with WithoutLogging: the nested
substitution only inherited the logger, not the decision to log.

Make nested substitutions inherit both. The fuzz target now locks it.

Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
This commit is contained in:
Nicolas De Loof 2026-10-23 08:04:08 +02:00 • committed by Nicolas De loof
commit e24266a8a7
3 changed files with 55 additions and 3 deletions