Skip to content

Commit 8377b00

Browse files
author
Javier Garcia Ordonez
committed
avoid deletion of python requirements
1 parent ed7ac64 commit 8377b00

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hooks/post_gen_project.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def remove_repo_folder():
4040

4141

4242
def remove_requirements_folders():
43-
if "python" not in SELECTED_DOCKER_BASE:
43+
if "python" not in SELECTED_DOCKER_BASE and "lab" not in SELECTED_DOCKER_BASE:
4444
shutil.rmtree("env-config/python")
4545
if "r-notebook" not in SELECTED_DOCKER_BASE:
4646
shutil.rmtree("env-config/r")

0 commit comments

Comments
 (0)