Skip to content

Commit

Permalink
Fix a directory path error
Browse files Browse the repository at this point in the history
  • Loading branch information
yang0352 committed Apr 10, 2025
1 parent 7f1964e commit eabe543
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion eks_automation/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit eabe543

Please sign in to comment.