Skip to content

Commit

Permalink
refactor(errors): better message when languaage directory doesn't exist
Browse files Browse the repository at this point in the history
  • Loading branch information
joao-vitor-sr authored and max-niederman committed Sep 29, 2023
1 parent d1fb17c commit cb73e39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ fn main() -> crossterm::Result<()> {

if opt.list_languages {
opt.languages()
.expect("Couldn't get installed languages under config directory. Make sure the config directory exists.")
.expect("Couldn't get installed languages under the config directory. Make sure the config and language directory exist.")
.iter()
.for_each(|name| println!("{}", name.to_str().expect("Ill-formatted language name.")));
return Ok(());
Expand Down

0 comments on commit cb73e39

Please sign in to comment.