Chore: housekeeping: lint

This commit is contained in:
Pieter Vander Vennet 2023-12-19 22:08:00 +01:00
parent 2cbd709d71
commit 663b194247
334 changed files with 4675 additions and 1730 deletions

View file

@ -147,11 +147,12 @@ export class ExtractImages extends Conversion<
.warn("Found an emtpy image")
} else if (typeof img.leaf !== "string") {
const c = context.enter(img.path)
const msg = "found an image path that is not a string: " +
const msg =
"found an image path that is not a string: " +
JSON.stringify(img.leaf)
if(this._isOfficial) {
if (this._isOfficial) {
c.err(msg)
}else {
} else {
c.warn(msg)
}
} else {