diff --git a/src/resolver/validator.ts b/src/resolver/validator.ts index 0b96f9daf..9528ff679 100644 --- a/src/resolver/validator.ts +++ b/src/resolver/validator.ts @@ -81,8 +81,7 @@ export default class Validator { if (!this.isTargeted(name, inputs)) { const value = this.inputs[name] ?? - this.graph.serviceTemplate.topology_template?.variability?.inputs?.[name]?.default ?? - undefined + this.graph.serviceTemplate.topology_template?.variability?.inputs?.[name]?.default assert.isDefined(value, `Variability input "${name}" is not targeted and not assigned`) }