Merge pull request #948 from mannaandpoem/update_plan_and_improve_coverage

Update code plan and change and Improve test coverage
This commit is contained in:
Alexander Wu 2024-03-05 15:37:13 +08:00 committed by GitHub
commit 1e5656df97
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
25 changed files with 336 additions and 86 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 bool(code_files)
def with_src_path(self, path: str | Path) -> ProjectRepo:
try: