Skip to content

Commit baa469a

Browse files
committed
Fix error reporting in XML validation
1 parent f96c4f1 commit baa469a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/services/platform-service.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ export class PlatformService implements IPlatformService {
191191
});
192192
parser.parseFromString(fileContents, "text/xml");
193193
xmlHasErrors = xmlHasErrors || hasErrors;
194-
if (xmlHasErrors) {
194+
if (hasErrors) {
195195
this.$logger.warn(`${file} has syntax errors.`);
196196
this.$logger.out(errorOutput);
197197
}

0 commit comments

Comments
 (0)