fix: change arg from String to &str
This commit is contained in:
@@ -256,7 +256,7 @@ impl YouTubeUploader {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn create_default_metadata(video_files: &[String], description_file: String) -> Vec<VideoMetadata> {
|
pub fn create_default_metadata(video_files: &[String], description_file: &str) -> Vec<VideoMetadata> {
|
||||||
let expanded_path = expand_tilde(&description_file);
|
let expanded_path = expand_tilde(&description_file);
|
||||||
video_files
|
video_files
|
||||||
.iter()
|
.iter()
|
||||||
|
|||||||
Reference in New Issue
Block a user