From eabe543a5a49721b0b83aebee9686e6d541ea345 Mon Sep 17 00:00:00 2001 From: Delong Yang Date: Thu, 10 Apr 2025 16:26:04 -0400 Subject: [PATCH] Fix a directory path error --- eks_automation/app.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/eks_automation/app.py b/eks_automation/app.py index b429000..5af1ddf 100644 --- a/eks_automation/app.py +++ b/eks_automation/app.py @@ -101,7 +101,9 @@ def operate_github(new_repo_name, eks_settings, output_hcl): # In case the new repo already exists locally, delete it. if os.path.exists(f"/tmp/{new_repo_name}"): - shutil.rmtree(new_repo_name, ignore_errors=False, onerror=remove_readonly) + shutil.rmtree( + f"/tmp/{new_repo_name}", ignore_errors=False, onerror=remove_readonly + ) # Since Census GitHub Enterprise server uses a private TLS certificate, # the certificate veriification must be disabled.