Skip to content

Commit c345fad

Browse files
committed
add part and exercise dir structure to zips
1 parent d28a5fc commit c345fad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tmc-langs-util/src/task_executor/course_refresher.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@ fn execute_zip(
365365
{
366366
let entry = entry?;
367367
if entry.path().is_file() {
368-
let relative_path = entry.path().strip_prefix(&exercise_root).unwrap(); // safe
368+
let relative_path = entry.path().strip_prefix(&root_path).unwrap(); // safe
369369
writer
370370
.start_file(
371371
relative_path.to_string_lossy(),

0 commit comments

Comments
 (0)