GenerateLayerOverview now demans a description from builtin layers
This commit is contained in:
parent
ae045b75cf
commit
1128bb8b8a
1 changed files with 4 additions and 0 deletions
|
@ -111,6 +111,10 @@ class LayerOverviewUtils {
|
|||
}
|
||||
layerErrorCount.push(...this.validateLayer(layerFile.parsed, layerFile.path, knownPaths))
|
||||
knownLayerIds.set(layerFile.parsed.id, new LayerConfig(layerFile.parsed))
|
||||
|
||||
if(layerFile.parsed.description === undefined){
|
||||
throw "The layer "+layerFile.parsed.id+" does not provide a description, but this is required for builtin themes"
|
||||
}
|
||||
}
|
||||
|
||||
let themeErrorCount = []
|
||||
|
|
Loading…
Reference in a new issue