Skip to content

Commit

Permalink
fix: use proper extension. rust doesn't return extensions with '.'
Browse files Browse the repository at this point in the history
  • Loading branch information
ccrutchf committed Dec 14, 2024
1 parent 28e461b commit c0b1239
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/subcommands/main_subcommand.rs
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ impl MainSubcommand {
if let Some(extension) = source_path.extension() {
info!("Found extension: {}", extension.to_string_lossy());

if extension == ".zstd" {
if extension == "zstd" {
info!("Found zstd compression, uncompressing.");

let source_path_string = source_path.to_string_lossy();
Expand Down

0 comments on commit c0b1239

Please sign in to comment.