Skip to content

Commit

Permalink
fix(easy-install): exec command
Browse files Browse the repository at this point in the history
  • Loading branch information
revant committed Dec 31, 2024
1 parent 18b3021 commit 5662c1a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion easy-install.py
Original file line number Diff line number Diff line change
Expand Up @@ -771,7 +771,11 @@ def get_args_parser():

args = parser.parse_args()

if args.force_pull and os.path.exists(get_frappe_docker_path()):
if (
args.subcommand != "exec"
and args.force_pull
and os.path.exists(get_frappe_docker_path())
):
cprint("\nForce pull frappe_docker again\n", level=2)
shutil.rmtree(get_frappe_docker_path(), ignore_errors=True)

Expand Down

0 comments on commit 5662c1a

Please sign in to comment.