Skip to content

Commit e5d15b5

Browse files
committed
Merge pull request #1290 from NativeScript/totev/fix-error-reporting
Fix error reporting in XML validation
2 parents f96c4f1 + baa469a commit e5d15b5

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)