Skip to content

Commit

Permalink
add a slightly more helpful error message
Browse files Browse the repository at this point in the history
  • Loading branch information
komaeda committed Apr 22, 2019
1 parent f2c48cf commit 7eddee6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ fn main() {
"{} must be run from the rustlings directory",
std::env::current_exe().unwrap().to_str().unwrap()
);
println!("Try `cd rustlings/`!");
std::process::exit(1);
}

Expand Down

0 comments on commit 7eddee6

Please sign in to comment.