We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 213f47d commit 02007aeCopy full SHA for 02007ae
1 file changed
Sources/ProjectSpec/Template.swift
@@ -66,6 +66,10 @@ private func resolveTemplates(jsonDictionary: JSONDictionary, templateStructure:
66
if let templateAttributes = reference["templateAttributes"] as? [String: String] {
67
reference = reference.expand(variables: templateAttributes)
68
}
69
+
70
+ if let globalVariables = jsonDictionary["globalTemplateAttributes"] as? [String: String] {
71
+ reference = reference.expand(variables: globalVariables)
72
+ }
73
74
baseDictionary[referenceName] = reference
75
0 commit comments