commit | 7e9606dc3e93c1d47ccbd758244e41f544588c5e | [log] [tgz] |
---|---|---|
author | Logan Chien <loganchien@google.com> | Thu Jul 12 19:32:23 2018 +0800 |
committer | Logan Chien <loganchien@google.com> | Thu Jul 12 19:32:23 2018 +0800 |
tree | e9c08f59052d363b1477a0b2e2f3107a3bf0094b | |
parent | 83fec1025ce84257d876dd2e65033ea1a6eb8a1f [diff] |
sourcedr: Check whether paths map to projects This commit checks whether the path maps to a git project specified in `manifest.xml`. If it does not map to a git project, emit an error and skip it. If we don't do so, an exception will be raised because the `sorted()` function cannot compare `None` object with `str` object. Test: Add a project to external and it does not stop the analyzer. Change-Id: I386ab7c1f76d5630a2c5f43186f38a791a3bb7b9