Skip to content
This repository was archived by the owner on Nov 9, 2022. It is now read-only.

Commit 8dfa7fa

Browse files
committed
#692: move processing of conditionals up to handle them before the merge
1 parent 4abf5c6 commit 8dfa7fa

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

deploy/lib/xquery/setup.xqy

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -557,6 +557,7 @@ declare function setup:rewrite-config($import-configs as element(configuration)+
557557

558558
declare function setup:rewrite-config($import-configs as element(configuration)+, $properties as map:map, $silent as xs:boolean?) as element(configuration)
559559
{
560+
let $import-configs := setup:process-conditionals($import-configs, $properties)
560561
let $config :=
561562
element { fn:node-name($import-configs[1]) } {
562563
$import-configs/@*,
@@ -614,7 +615,7 @@ declare function setup:rewrite-config($import-configs as element(configuration)+
614615
fn:concat("No hosts assigned to group ", $group, ", needed for app servers and forests!"))
615616

616617
(: all good :)
617-
return setup:process-conditionals(setup:suppress-comments($config), $properties)
618+
return setup:suppress-comments($config)
618619
};
619620

620621

0 commit comments

Comments
 (0)