diff --git a/lib/services/platform-service.ts b/lib/services/platform-service.ts index 0a9fcdbc20..6cb28beddc 100644 --- a/lib/services/platform-service.ts +++ b/lib/services/platform-service.ts @@ -191,7 +191,7 @@ export class PlatformService implements IPlatformService { }); parser.parseFromString(fileContents, "text/xml"); xmlHasErrors = xmlHasErrors || hasErrors; - if (xmlHasErrors) { + if (hasErrors) { this.$logger.warn(`${file} has syntax errors.`); this.$logger.out(errorOutput); }