summaryrefslogtreecommitdiff
path: root/src/watch
diff options
context:
space:
mode:
authormo8it <mo8it@proton.me>2024-07-28 20:30:23 +0200
committermo8it <mo8it@proton.me>2024-07-28 20:30:23 +0200
commit74fab994e2133cc40718abe923645922785c2a57 (patch)
treed05a785e3a69e2dff64e7455ae8d033d4ad03081 /src/watch
parent3a99542f7346a639115abd65ea277f32ecd3e5a1 (diff)
Make the output optional
Diffstat (limited to 'src/watch')
-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 26ff411..8f01db7 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(&mut self.output, self.app_state.target_dir())?;
+ .run_exercise(Some(&mut self.output), self.app_state.target_dir())?;
if success {
self.done_status =
if let Some(solution_path) = self.app_state.current_solution_path()? {