Skip to content
This repository was archived by the owner on Jun 3, 2025. It is now read-only.

Commit b50c380

Browse files
author
juvester
committed
Modify messages
1 parent 1a41b09 commit b50c380

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/main/java/fi/helsinki/cs/tmc/cli/command/SubmitCommand.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,15 +137,15 @@ protected void updateCourseJson(TmcCore core, List<Exercise> submittedExercises,
137137

138138
Course updatedCourse = TmcUtil.findCourse(core, courseInfo.getCourseName());
139139
if (updatedCourse == null) {
140-
io.println("Failed to update .tmc.json file for course " + courseInfo.getCourseName());
140+
io.println("Failed to update config file for course " + courseInfo.getCourseName());
141141
return;
142142
}
143143

144144
for (Exercise submitted : submittedExercises) {
145145
Exercise updatedEx = TmcUtil.findExercise(updatedCourse, submitted.getName());
146146
if (updatedEx == null) {
147147
// Does this reaaally ever happen?
148-
io.println("Failed to update .tmc.json file for exercise " + submitted.getName()
148+
io.println("Failed to update config file for exercise " + submitted.getName()
149149
+ ". The exercise doesn't exist in server anymore.");
150150
continue;
151151
}

src/main/java/fi/helsinki/cs/tmc/cli/command/UpdateCommand.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ public void updateExercises(TmcCore core, CourseInfo info, Path configFile) {
7676
}
7777

7878
if (!exerciseUpdater.updateCourseJson(info, configFile)) {
79-
io.println("Failed to update course info");
79+
io.println("Failed to update course config file");
8080
}
8181
}
8282

0 commit comments

Comments
 (0)