Skip to content

Commit

Permalink
Merge pull request #38 from instaclustr/compressor-extensions
Browse files Browse the repository at this point in the history
compressor output extensions fix
  • Loading branch information
Daniil-Golikov authored Oct 9, 2023
2 parents 6dff37e + 54ccb2d commit 7320cc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion brro-compressor/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ fn process_args(input_path: &str, arguments: &Args) {
compressed = compressor::constant::constant(&optimizer_results_f);
}

let file_name = writer::replace_extension(&files.names[index], "txt)");
let file_name = writer::replace_extension(&files.names[index], "bin");
let new_path = base_dir.join(&file_name);
let mut file = writer::create_streaming_writer(&new_path).expect("TODO: panic message");
writer::write_data_to_stream(&mut file, &compressed).expect("Failed to write compressed data");
Expand Down

0 comments on commit 7320cc6

Please sign in to comment.