Skip to content

Commit

Permalink
detect LICENSE-UNICODE file for Unicode-dfs-2016 in crate unicode-ide…
Browse files Browse the repository at this point in the history
…nt (#34)
  • Loading branch information
BlueGreenMagick authored Mar 17, 2024
1 parent fb8c6ae commit c110e71
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/license.rs
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,10 @@ impl License {
slugify(self.to_string()).to_lowercase(),
String::from("boost"),
],
License::UnicodeDFS2016 => vec![
slugify(self.to_string()).to_lowercase(),
String::from("unicode"),
],
_ => vec![slugify(self.to_string()).to_lowercase()],
};
synonyms.sort_by_key(|value| -(value.len() as i64));
Expand Down

0 comments on commit c110e71

Please sign in to comment.