Compare commits
No commits in common. "Development" and "1.0.0-stable" have entirely different histories.
Developmen
...
1.0.0-stab
|
@ -66,7 +66,7 @@ checksum = "773648b94d0e5d620f64f280777445740e61fe701025087ec8b57f45c791888b"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "emoji-json-generator"
|
name = "emoji-json-generator"
|
||||||
version = "1.0.0"
|
version = "0.1.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"chrono",
|
"chrono",
|
||||||
"serde",
|
"serde",
|
||||||
|
|
|
@ -60,6 +60,7 @@ fn get_files() -> Vec<File> {
|
||||||
let extension = file_name_parts[1];
|
let extension = file_name_parts[1];
|
||||||
|
|
||||||
if extension == "png" || extension == "jpg" || extension == "jpeg" || extension == "gif" {
|
if extension == "png" || extension == "jpg" || extension == "jpeg" || extension == "gif" {
|
||||||
|
let file_name = file.expect("Error: could not read file").file_name().into_string().expect("Error: could not read filename as String");
|
||||||
let emoji_data = Emoji {
|
let emoji_data = Emoji {
|
||||||
name: name.to_string(),
|
name: name.to_string(),
|
||||||
category: category.clone(),
|
category: category.clone(),
|
||||||
|
|
Loading…
Reference in New Issue