Skip to content

Commit 2234882

Browse files
committed
ignore cleanup error
1 parent 91592c9 commit 2234882

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hermetic_build/common/model/config_change.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ def get_qualified_commits(
105105
:param repo_url: the repository contains the commit history.
106106
:return: QualifiedCommit objects.
107107
"""
108-
with tempfile.TemporaryDirectory() as tmp_dir:
108+
with tempfile.TemporaryDirectory(ignore_cleanup_errors=True) as tmp_dir:
109109
# we only need commit history, thus a shadow clone is enough.
110110
repo = Repo.clone_from(url=repo_url, to_path=tmp_dir, filter=["blob:none"])
111111
commit = repo.commit(self.current_config.googleapis_commitish)

0 commit comments

Comments
 (0)