Skip to content
This repository has been archived by the owner on Sep 17, 2024. It is now read-only.

Commit

Permalink
I blame that I suck
Browse files Browse the repository at this point in the history
  • Loading branch information
maikirakiwi committed Jul 10, 2022
1 parent ba20589 commit f243ac8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cider_utils"
version = "0.1.4"
version = "0.1.5"
license = "AGPL-3.0"
edition = "2021"
exclude = ["index.node"]
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cider_utils",
"version": "0.1.4",
"version": "0.1.5",
"description": "",
"main": "index.js",
"files": [
Expand Down
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ pub fn recursive_folder_search(mut cx: FunctionContext) -> JsResult<JsObject> {
let file_name_ascii_lowercase = file.file_name().to_ascii_lowercase();
let file_ext_str = file_extension_parser(file_name_ascii_lowercase.to_str().unwrap());
match file_ext_str {
Some("mp3" | "flac" | "wav" | "opus") => parse_file_vec.push(file.file_name().to_str().unwrap().to_owned()),
Some("aac" | "m4a" | "ogg" | "webm") => music_metadata_vec.push(file.file_name().to_str().unwrap().to_owned()),
Some("mp3" | "flac" | "wav" | "opus") => parse_file_vec.push(file.path().as_os_str().to_str().unwrap().to_owned()),
Some("aac" | "m4a" | "ogg" | "webm") => music_metadata_vec.push(file.path().as_os_str().to_str().unwrap().to_owned()),
_ => continue,
};
}
Expand Down

0 comments on commit f243ac8

Please sign in to comment.