From dd5a621eb8a8488809c04c1a2a15c689d3613ff9 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 714590b..00c0b2a 100644 --- a/src/configuration.ts +++ b/src/configuration.ts @@ -134,7 +134,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`)