Print FAILED

This commit is contained in:
mo8it 2024-04-12 19:30:29 +02:00
parent 06d1089714
commit ff4c752984

View File

@ -190,6 +190,8 @@ impl AppState {
writer.flush()?;
if !exercise.run()?.status.success() {
writer.write_fmt(format_args!("{}\n\n", "FAILED".red()))?;
self.state_file.current_exercise_ind = exercise_ind;
self.current_exercise = exercise;