mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-06-08 15:05:17 +02:00
Add the tar command to extract the .zip file
This commit is contained in:
parent
f9f6dbefa8
commit
0faae9368f
1 changed files with 1 additions and 1 deletions
|
|
@ -113,7 +113,7 @@ def get_incremental_dev_result(idea, project_name, use_review=True):
|
|||
subprocess.run(["tar", "-xf", f"{project_path}.zip", "-C", str(project_path.parent)], check=True)
|
||||
except subprocess.CalledProcessError as e:
|
||||
# If the extraction fails, throw an exception
|
||||
raise Exception(f"Failed to unzip project {project_name}. Error: {e}")
|
||||
raise Exception(f"Failed to extract project {project_name}. Error: {e}")
|
||||
|
||||
check_or_create_base_tag(project_path)
|
||||
args = [idea, "--inc", "--project-path", project_path, "--n-round", "20"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue