GenerateLayerOverview now demans a description from builtin layers

This commit is contained in:
pietervdvn 2021-12-05 05:21:29 +01:00
parent ae045b75cf
commit 1128bb8b8a

View file

@ -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 = []