diff --git a/crates/cli/src/download.rs b/crates/cli/src/download.rs index 9ee189c..523fd30 100644 --- a/crates/cli/src/download.rs +++ b/crates/cli/src/download.rs @@ -15,7 +15,7 @@ const GITHUB_BASE_URL: &'static str = "https://raw.githubusercontent.com/dcodesdev/rustfinity.com/main/challenges"; pub async fn get_challenge(challenge: &str) -> anyhow::Result<()> { - if !challenge_exists(challenge).await { + if !challenge_exists(challenge).await? { println!("Challenge does not exist 🥺\n\nPlease make sure you've written the challenge name correctly."); return Ok(()); }