summaryrefslogtreecommitdiff
path: root/src/run.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/run.rs')
-rw-r--r--src/run.rs7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/run.rs b/src/run.rs
index 1db8dcb..cbc9ad7 100644
--- a/src/run.rs
+++ b/src/run.rs
@@ -25,11 +25,12 @@ pub fn run(app_state: &mut AppState) -> Result<()> {
);
}
- stdout.write_fmt(format_args!(
- "{}{}\n",
+ writeln!(
+ stdout,
+ "{}{}",
"✓ Successfully ran ".green(),
exercise.path.green(),
- ))?;
+ )?;
if let Some(solution_path) = app_state.current_solution_path()? {
println!(