From 5c999205c47603b6861ba91d049ffbf7f421622b Mon Sep 17 00:00:00 2001 From: Damian Mooyman Date: Wed, 13 May 2026 12:36:28 +1200 Subject: [PATCH] fix: safer default logic --- src/configuration.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/configuration.ts b/src/configuration.ts index eef527a..23b7e66 100644 --- a/src/configuration.ts +++ b/src/configuration.ts @@ -138,7 +138,7 @@ export class StackConfig { // Look up stack-specific property, failing over to stage if not overridden for this stack const value = this.stack?.[name] ?? this.stage.getProperty(name) ?? default_value - if (value) { + if (value !== undefined && value !== null) { return value } throw new Error(`Missing value ${name} for stack`)