importer: cleanup should be happening if there's no meta

This commit is contained in:
Louis Abel 2024-03-10 21:45:08 -07:00
parent e8b72866ae
commit 38405b883b
Signed by: label
GPG Key ID: 2A6975660E424560
1 changed files with 1 additions and 0 deletions

View File

@ -787,6 +787,7 @@ class GitImport(Import):
if not metafile_to_use:
print('Source: There was no metadata file found. Skipping import attempt.')
self.perform_cleanup([source_git_repo_path, dest_git_repo_path])
return False
sources_dict = self.parse_metadata_file(metafile_to_use)