File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed
Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -392,7 +392,9 @@ fn execute_zip(
392392 let tmcproject_yml_path = exercise_root. join ( ".tmcproject.yml" ) ;
393393 if tmcproject_yml_path. exists ( ) {
394394 let tmcproject_yml = file_util:: read_file ( & tmcproject_yml_path) ?;
395- let relative_path = tmcproject_yml_path. strip_prefix ( & root_path) . expect ( "relative path failed for tmcproject yml" ) ; // safe
395+ let relative_path = tmcproject_yml_path
396+ . strip_prefix ( & root_path)
397+ . expect ( "relative path failed for tmcproject yml" ) ; // safe
396398 writer. start_file (
397399 relative_path. to_string_lossy ( ) ,
398400 zip:: write:: FileOptions :: default ( ) ,
Original file line number Diff line number Diff line change @@ -1188,7 +1188,9 @@ checksum = 'new checksum'
11881188 id: 5 ,
11891189 checksum: "new checksum" . to_string( ) ,
11901190 course_name: "another course" . to_string( ) ,
1191- exercise_name: "not on disk exercise with submission exercise hide submission result" . to_string( ) ,
1191+ exercise_name:
1192+ "not on disk exercise with submission exercise hide submission result"
1193+ . to_string( ) ,
11921194 hide_submission_results: true ,
11931195 } ,
11941196 ] ,
@@ -1395,7 +1397,7 @@ checksum = 'new checksum'
13951397 let _e2 = skipped. iter ( ) . find ( |e| e. id == 2 ) . unwrap ( ) ;
13961398 let e3 = downloaded. iter ( ) . find ( |e| e. id == 3 ) . unwrap ( ) ;
13971399 let e4 = downloaded. iter ( ) . find ( |e| e. id == 4 ) . unwrap ( ) ;
1398- let e5 = downloaded. iter ( ) . find ( |e|e. id == 5 ) . unwrap ( ) ;
1400+ let e5 = downloaded. iter ( ) . find ( |e| e. id == 5 ) . unwrap ( ) ;
13991401
14001402 // did not download submission even though it was available because it was on disk
14011403 let f = file_util:: read_file_to_string ( e1. path . join ( "src/student_file.py" ) ) . unwrap ( ) ;
You can’t perform that action at this time.
0 commit comments