Fix: regenerate NSI-logos, should fix regression reported in #2300

This commit is contained in:
Pieter Vander Vennet 2025-06-03 23:47:29 +02:00
parent a858a85879
commit 4744471495
7 changed files with 50745 additions and 50156 deletions

View file

@ -111,6 +111,9 @@ export class DoesImageExist extends DesugaringStep<string> {
if (!this._knownImagePaths.has(image)) {
if (this.doesPathExist === undefined || image.indexOf("nsi/logos/") >= 0) {
// pass
} else if (image.startsWith("https://")) {
// Pass
// This is an online image. Normally forbidden, but not the responsability of this code to check for online images
} else if (!this.doesPathExist(image)) {
context.err(
`Image with path ${image} does not exist.\n Check for typo's and missing directories in the path. `