Update ValidationEngine.java

This commit is contained in:
Stefan Otto 2023-06-30 17:20:37 +02:00 committed by GitHub
parent a05b69288f
commit 213cd931f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -584,7 +584,7 @@ public class ValidationEngine implements IValidatorResourceFetcher, IValidationP
// available for other resources to depend on. if it fails to load, there'll be an error if there's
// something that should've been loaded
for (SourceFile ref : refs) {
if (ref.isProcess() || all) {
if (ref.isProcess() || all && !ref.isKnownToBeMissing()) {
ref.setCnt(igLoader.loadContent(ref.getRef(), "validate", false, first));
if (loader != null && ref.getCnt() != null) {
try {