summaryrefslogtreecommitdiff
path: root/src/watch/state.rs
diff options
context:
space:
mode:
authormo8it <mo8it@proton.me>2024-08-01 15:23:54 +0200
committermo8it <mo8it@proton.me>2024-08-01 15:23:54 +0200
commitc7590dd752ab35d06a85f016e88921f10934e6aa (patch)
tree0ab9fa0aae23cfe752c3aa67b70c7451c1eb3a65 /src/watch/state.rs
parent33a56803281ec4ec84fbe61919e9c825f1f446f7 (diff)
Improve the runner
Diffstat (limited to 'src/watch/state.rs')
-rw-r--r--src/watch/state.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/watch/state.rs b/src/watch/state.rs
index 8f01db7..46f48d9 100644
--- a/src/watch/state.rs
+++ b/src/watch/state.rs
@@ -54,7 +54,7 @@ impl<'a> WatchState<'a> {
let success = self
.app_state
.current_exercise()
- .run_exercise(Some(&mut self.output), self.app_state.target_dir())?;
+ .run_exercise(Some(&mut self.output), self.app_state.cmd_runner())?;
if success {
self.done_status =
if let Some(solution_path) = self.app_state.current_solution_path()? {