mirror of
https://github.com/explosion/spaCy.git
synced 2024-11-14 13:47:13 +03:00
small fix
This commit is contained in:
parent
8eca7e995e
commit
a7d547c65e
|
@ -248,7 +248,7 @@ def project_clone(
|
||||||
run_command(["git", "-C", str(tmp_dir), "fetch"])
|
run_command(["git", "-C", str(tmp_dir), "fetch"])
|
||||||
run_command(["git", "-C", str(tmp_dir), "checkout"])
|
run_command(["git", "-C", str(tmp_dir), "checkout"])
|
||||||
except SystemExit:
|
except SystemExit:
|
||||||
err = f"Could not clone {name} in the repo '{repo}'."
|
err = f"Could not clone '{name}' in the repo '{repo}'."
|
||||||
msg.fail(err)
|
msg.fail(err)
|
||||||
shutil.move(str(tmp_dir / Path(name).name), str(project_dir))
|
shutil.move(str(tmp_dir / Path(name).name), str(project_dir))
|
||||||
msg.good(f"Cloned project '{name}' from {repo} into {project_dir}")
|
msg.good(f"Cloned project '{name}' from {repo} into {project_dir}")
|
||||||
|
|
Loading…
Reference in New Issue
Block a user