Make unclean manifest error show actual erroring manifest.

This commit is contained in:
Josh Matthews 2019-03-20 10:09:00 -04:00
parent 6428901c41
commit 33f5066a23

View file

@ -85,9 +85,8 @@ def _check_clean(logger, test_paths):
for manifest_path, (old_manifest, new_manifest) in manifests_by_path.iteritems():
if not diff_manifests(logger, manifest_path, old_manifest, new_manifest):
logger.error("Manifest %s is outdated, use |./mach update-manifest| to fix." % manifest_path)
rv = 1
if rv:
logger.error("Manifest %s is outdated, use |./mach update-manifest| to fix." % manifest_path)
return rv