File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -382,6 +382,7 @@ class ServerTemplateImpl implements ServerTemplate {
382382 // Iterates in order over condition list. If there is a value associated
383383 // with a condition, this checks if the condition is true.
384384 for ( const [ conditionName , conditionEvaluation ] of evaluatedConditions ) {
385+
385386 if ( normalizedConditionalValues [ conditionName ] && conditionEvaluation ) {
386387 parameterValueWrapper = normalizedConditionalValues [ conditionName ] ;
387388 break ;
@@ -395,7 +396,9 @@ class ServerTemplateImpl implements ServerTemplate {
395396
396397 if ( parameterValueWrapper ) {
397398 const parameterValue = ( parameterValueWrapper as ExplicitParameterValue ) . value ;
398- configValues [ key ] = new ValueImpl ( 'remote' , parameterValue ) ;
399+ if ( parameterValue !== undefined ) {
400+ configValues [ key ] = new ValueImpl ( 'remote' , parameterValue ) ;
401+ }
399402 continue ;
400403 }
401404
You can’t perform that action at this time.
0 commit comments