main: pass topdir to Manifest.from_file()
This saves an unnecessary filesystem search. Signed-off-by: Marti Bolivar <marti.bolivar@nordicsemi.no>
This commit is contained in:
parent
18857356bd
commit
9fd83959b2
|
@ -582,7 +582,7 @@ def main(argv=None):
|
|||
# re-parsed.
|
||||
if topdir:
|
||||
try:
|
||||
manifest = Manifest.from_file()
|
||||
manifest = Manifest.from_file(topdir=topdir)
|
||||
extensions = get_extension_commands(manifest)
|
||||
except (MalformedManifest, MalformedConfig, FileNotFoundError):
|
||||
manifest = None
|
||||
|
|
Loading…
Reference in New Issue