mirror of
https://git.aramjonghu.dev/AramJonghu/rustlings.git
synced 2026-09-02 00:13:30 +02:00
Set pending on fail in run mode
This commit is contained in:
@@ -15,6 +15,8 @@ pub fn run(app_state: &mut AppState) -> Result<()> {
|
||||
stdout.flush()?;
|
||||
|
||||
if !output.status.success() {
|
||||
app_state.set_pending(app_state.current_exercise_ind())?;
|
||||
|
||||
bail!("Ran {exercise} with errors");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user