summaryrefslogtreecommitdiff
path: root/src/dev
diff options
context:
space:
mode:
Diffstat (limited to 'src/dev')
-rw-r--r--src/dev/check.rs6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/dev/check.rs b/src/dev/check.rs
index 9859c3e..564aa0a 100644
--- a/src/dev/check.rs
+++ b/src/dev/check.rs
@@ -151,11 +151,9 @@ fn check_cargo_toml(
if old_bins != new_bins {
if DEBUG_PROFILE {
bail!("The file `dev/Cargo.toml` is outdated. Please run `cargo run -- dev update` to update it");
- } else {
- bail!(
- "The file `Cargo.toml` is outdated. Please run `rustlings dev update` to update it",
- );
}
+
+ bail!("The file `Cargo.toml` is outdated. Please run `rustlings dev update` to update it");
}
Ok(())