Skip to content

Commit 0140e0c

Browse files
committed
update seems to work. Tests don't work, but the same error was before any changes
1 parent 8feec9c commit 0140e0c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tmc-plugin/src/fi/helsinki/cs/tmc/actions/UpdateExercisesAction.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,9 @@ public void actionPerformed(ActionEvent e) {
4646
}
4747

4848
public void run() {
49+
if (exercisesToUpdate.isEmpty()) {
50+
return;
51+
}
4952
try {
5053
ListenableFuture<List<Exercise>> downloadFuture = core.downloadExercises(exercisesToUpdate,
5154
NBTmcSettings.getDefault());

0 commit comments

Comments
 (0)