Skip to content

Commit 90938b9

Browse files
committed
Change directory to root of exercise for grading
1 parent aa66e3b commit 90938b9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cli/commands/verify.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@ def verify(ctx: click.Context) -> None:
150150
output: Optional[GitAutograderOutput]
151151
try:
152152
if requires_repo:
153+
os.chdir(gitmastery_exercise_root_path)
153154
current_repo = GitAutograderRepo(exercise_name, ".")
154155
output = execute_py_file_function_from_url(
155156
formatted_exercise_name,

0 commit comments

Comments
 (0)