diff --git a/repo_cloner/lib/detector.py b/repo_cloner/lib/detector.py index 8398e95..5feb36f 100644 --- a/repo_cloner/lib/detector.py +++ b/repo_cloner/lib/detector.py @@ -174,10 +174,10 @@ class Detector: log.info(f"Running commit detector") new_branches = self._repo.list_branches() if not new_branches: - new_branches = [] + new_branches = {} new_tags = self._repo.list_tags() if not new_tags: - new_tags = [] + new_tags = {} # remove removed old_keys = self._branches.keys()