I forgot to remove a variable whoops

Development
Johannes Hendrik Gerard van der Weide 2024-10-01 21:37:43 +02:00
parent 4b38a7d861
commit de605336f2
2 changed files with 1 additions and 2 deletions

2
Cargo.lock generated
View File

@ -66,7 +66,7 @@ checksum = "773648b94d0e5d620f64f280777445740e61fe701025087ec8b57f45c791888b"
[[package]]
name = "emoji-json-generator"
version = "0.1.0"
version = "1.0.0"
dependencies = [
"chrono",
"serde",

View File

@ -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(),