diff options
| author | mo8it <mo8it@proton.me> | 2024-08-01 15:23:54 +0200 |
|---|---|---|
| committer | mo8it <mo8it@proton.me> | 2024-08-01 15:23:54 +0200 |
| commit | c7590dd752ab35d06a85f016e88921f10934e6aa (patch) | |
| tree | 0ab9fa0aae23cfe752c3aa67b70c7451c1eb3a65 /src/run.rs | |
| parent | 33a56803281ec4ec84fbe61919e9c825f1f446f7 (diff) | |
Improve the runner
Diffstat (limited to 'src/run.rs')
| -rw-r--r-- | src/run.rs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -11,7 +11,7 @@ use crate::{ pub fn run(app_state: &mut AppState) -> Result<()> { let exercise = app_state.current_exercise(); let mut output = Vec::with_capacity(OUTPUT_CAPACITY); - let success = exercise.run_exercise(Some(&mut output), app_state.target_dir())?; + let success = exercise.run_exercise(Some(&mut output), app_state.cmd_runner())?; let mut stdout = io::stdout().lock(); stdout.write_all(&output)?; |
