Skip to content

Commit cfcb026

Browse files
committed
[remote-control] Fix exercise folder missing
1 parent 8b0d2f2 commit cfcb026

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

remote_control/.gitmastery-exercise.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"base_files": {},
77
"exercise_repo": {
88
"repo_type": "local",
9-
"repo_name": "deleted",
9+
"repo_name": "ignore-me",
1010
"init": false,
1111
"create_fork": null,
1212
"repo_title": null

remote_control/download.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,4 @@
22
import shutil
33

44

5-
def setup(verbose: bool = False):
6-
# TODO: Resolve this bug where the assert doesn't happen but the folder still exists
7-
os.chdir("..")
8-
shutil.rmtree(f"{os.getcwd()}/deleted", ignore_errors=False)
9-
assert not os.path.exists("deleted"), "Still exists after rmtree!"
5+
def setup(verbose: bool = False): ...

0 commit comments

Comments
 (0)