We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 43511dc commit bc09db5Copy full SHA for bc09db5
src/info/langs/mod.rs
@@ -18,7 +18,7 @@ pub fn get_language_statistics(
18
) -> Result<(Vec<(Language, f64)>, usize)> {
19
let stats = get_statistics(dir, ignored_directories, language_types, include_hidden);
20
let language_distribution = get_language_distribution(&stats)
21
- .with_context(|| "Could not find any source code in this directory")?;
+ .with_context(|| "Could not find any source code in this repository")?;
22
let mut language_distribution_vec: Vec<(_, _)> = language_distribution.into_iter().collect();
23
language_distribution_vec.sort_by(|a, b| a.1.partial_cmp(&b.1).unwrap().reverse());
24
let loc = get_total_loc(&stats);
0 commit comments