File tree Expand file tree Collapse file tree 3 files changed +2
-3
lines changed Expand file tree Collapse file tree 3 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -152,7 +152,6 @@ fn main() -> Result<ExitCode> {
152
152
}
153
153
154
154
stdout. write_all ( b"\n \n " ) ?;
155
-
156
155
let pending = app_state. n_pending ( ) ;
157
156
if pending == 1 {
158
157
stdout. write_all ( b"One exercise pending: " ) ?;
@@ -167,6 +166,7 @@ fn main() -> Result<ExitCode> {
167
166
. current_exercise ( )
168
167
. terminal_file_link ( & mut stdout) ?;
169
168
stdout. write_all ( b"\n " ) ?;
169
+
170
170
return Ok ( ExitCode :: FAILURE ) ;
171
171
} else {
172
172
app_state. render_final_message ( & mut stdout) ?;
Original file line number Diff line number Diff line change @@ -29,6 +29,7 @@ pub fn run(app_state: &mut AppState) -> Result<ExitCode> {
29
29
. current_exercise ( )
30
30
. terminal_file_link ( & mut stdout) ?;
31
31
stdout. write_all ( b" with errors\n " ) ?;
32
+
32
33
return Ok ( ExitCode :: FAILURE ) ;
33
34
}
34
35
Original file line number Diff line number Diff line change @@ -281,8 +281,6 @@ impl<'a> WatchState<'a> {
281
281
}
282
282
283
283
pub fn check_all_exercises ( & mut self , stdout : & mut StdoutLock ) -> Result < ExercisesProgress > {
284
- stdout. write_all ( b"\n " ) ?;
285
-
286
284
if let Some ( first_pending_exercise_ind) = self . app_state . check_all_exercises ( stdout) ? {
287
285
// Only change exercise if the current one is done.
288
286
if self . app_state . current_exercise ( ) . done {
You can’t perform that action at this time.
0 commit comments