I forgot to remove a variable whoops
parent
4b38a7d861
commit
de605336f2
|
@ -66,7 +66,7 @@ checksum = "773648b94d0e5d620f64f280777445740e61fe701025087ec8b57f45c791888b"
|
|||
|
||||
[[package]]
|
||||
name = "emoji-json-generator"
|
||||
version = "0.1.0"
|
||||
version = "1.0.0"
|
||||
dependencies = [
|
||||
"chrono",
|
||||
"serde",
|
||||
|
|
|
@ -60,7 +60,6 @@ fn get_files() -> Vec<File> {
|
|||
let extension = file_name_parts[1];
|
||||
|
||||
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 {
|
||||
name: name.to_string(),
|
||||
category: category.clone(),
|
||||
|
|
Loading…
Reference in New Issue