Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
sansyrox committed Oct 29, 2023
1 parent 5b69450 commit 6708aa9
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion robyn/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
from InquirerPy.base.control import Choice
from .argument_parser import Config
from robyn.robyn import get_version
from distutils.dir_util import copy_tree
from pathlib import Path
import shutil


SCAFFOLD_DIR = Path(__file__).parent / "scaffold"
Expand Down Expand Up @@ -57,7 +57,11 @@ def create_robyn_app():
os.makedirs(final_project_dir_path, exist_ok=True)

selected_project_template = (SCAFFOLD_DIR / Path(project_type)).resolve()
<<<<<<< HEAD
copy_tree(str(selected_project_template), str(final_project_dir_path))
=======
shutil.copytree(str(selected_project_template), str(final_project_dir_path), dirs_exist_ok=True)
>>>>>>> 840b699 (update)

# If docker is not needed, delete the docker file
if docker == "N":
Expand Down

0 comments on commit 6708aa9

Please sign in to comment.