Improve the coverage

This commit is contained in:
mannaandpoem 2024-02-28 15:08:09 +08:00
parent 669c525b64
commit 7efda42c28
14 changed files with 290 additions and 55 deletions

View file

@ -133,6 +133,7 @@ class ProjectRepo(FileRepository):
code_files = self.with_src_path(path=git_workdir / git_workdir.name).srcs.all_files
if not code_files:
return False
return True
def with_src_path(self, path: str | Path) -> ProjectRepo:
try: