Skip to content

Commit bbcfa3b

Browse files
committed
fetch root tmcproject from clone path, not cache path
1 parent ab36c4f commit bbcfa3b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tmc-langs/src/course_refresher.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ pub fn refresh_course(
8989
.collect::<Vec<_>>();
9090

9191
// collect .tmcproject.ymls and merge the root config with each exercise's, if any
92-
let root_tmcproject_yml = TmcProjectYml::load(&course_cache_path)?;
92+
let root_tmcproject_yml = TmcProjectYml::load(&new_clone_path)?;
9393
let exercise_dirs_and_tmcprojects =
9494
get_and_merge_tmcproject_configs(root_tmcproject_yml, &new_clone_path, exercise_dirs)?;
9595
progress_stage("Merged .tmcproject.yml files in exercise directories to the root file, if any");

0 commit comments

Comments
 (0)