forked from MapComplete/MapComplete
Fix: regenerate NSI-logos, should fix regression reported in #2300
This commit is contained in:
parent
a858a85879
commit
4744471495
7 changed files with 50745 additions and 50156 deletions
|
@ -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. `
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue