mirror of
https://github.com/peridotbuild/pv2.git
synced 2024-11-21 12:41:26 +00:00
importer: cleanup should be happening if there's no meta
This commit is contained in:
parent
e8b72866ae
commit
38405b883b
@ -787,6 +787,7 @@ class GitImport(Import):
|
|||||||
|
|
||||||
if not metafile_to_use:
|
if not metafile_to_use:
|
||||||
print('Source: There was no metadata file found. Skipping import attempt.')
|
print('Source: There was no metadata file found. Skipping import attempt.')
|
||||||
|
self.perform_cleanup([source_git_repo_path, dest_git_repo_path])
|
||||||
return False
|
return False
|
||||||
|
|
||||||
sources_dict = self.parse_metadata_file(metafile_to_use)
|
sources_dict = self.parse_metadata_file(metafile_to_use)
|
||||||
|
Loading…
Reference in New Issue
Block a user