Add some documentation on builtin tag renderings

This commit is contained in:
Pieter Vander Vennet 2022-02-14 23:42:32 +01:00
parent 18b41b3bd8
commit b43fa5dd39
3 changed files with 35 additions and 1 deletions

View file

@ -41,7 +41,7 @@ export class ExtractImages extends Conversion<LayoutConfigJson, string[]> {
const fromPath = Utils.CollectPath(trpath.path, foundImage)
for (const img of fromPath) {
if (typeof img !== "string") {
(this._isOfficial ? errors: warnings).push("Found an image path that is not a path at " + context + "." + metapath.path.join(".") + ": " + JSON.stringify(img))
(this._isOfficial ? errors: warnings).push(context+": found an image path that is not a path at " + context + "." + metapath.path.join(".") + ": " + JSON.stringify(img))
}
}
allFoundImages.push(...fromPath.filter(i => typeof i === "string"))