Skip to content

Commit bc09db5

Browse files
committed
update error message
1 parent 43511dc commit bc09db5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/info/langs/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ pub fn get_language_statistics(
1818
) -> Result<(Vec<(Language, f64)>, usize)> {
1919
let stats = get_statistics(dir, ignored_directories, language_types, include_hidden);
2020
let language_distribution = get_language_distribution(&stats)
21-
.with_context(|| "Could not find any source code in this directory")?;
21+
.with_context(|| "Could not find any source code in this repository")?;
2222
let mut language_distribution_vec: Vec<(_, _)> = language_distribution.into_iter().collect();
2323
language_distribution_vec.sort_by(|a, b| a.1.partial_cmp(&b.1).unwrap().reverse());
2424
let loc = get_total_loc(&stats);

0 commit comments

Comments
 (0)