Skip to content

Commit

Permalink
Delete debug dir stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
Pbatch committed Jun 20, 2024
1 parent f33d78f commit 406f775
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions clashroyalebuildabot/updater.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,14 +57,7 @@ def _replace_old_version(self, commit_sha):
)
for item in os.listdir(self.EXTRACT_PATH):
item_path = os.path.join(self.EXTRACT_PATH, item)
if item in {
new_folder_name,
DEBUG_DIR,
os.path.join(DEBUG_DIR, "bot.log"),
os.path.join(DEBUG_DIR, "screenshots"),
os.path.join(DEBUG_DIR, "labels"),
".git",
}:
if item in {new_folder_name, ".git"}:
continue

if os.path.isdir(item_path):
Expand Down

0 comments on commit 406f775

Please sign in to comment.