fix typo
This commit is contained in:
@@ -31,7 +31,7 @@ pub enum Transcode {
|
||||
}
|
||||
|
||||
impl Transcode {
|
||||
pub fn extention(&self) -> &'static str {
|
||||
pub fn extension(&self) -> &'static str {
|
||||
match self {
|
||||
Transcode::Opus { .. } => "opus",
|
||||
}
|
||||
|
||||
@@ -89,7 +89,7 @@ fn get_path_pairs(config: Config) -> impl Iterator<Item = ConvertionArgs> {
|
||||
};
|
||||
|
||||
let mut to = config.to.join(e.path().strip_prefix(&config.from).unwrap());
|
||||
to.set_extension(transcode.extention());
|
||||
to.set_extension(transcode.extension());
|
||||
|
||||
let is_newer = {
|
||||
// TODO: error handling
|
||||
|
||||
Reference in New Issue
Block a user