Skip to content

Commit

Permalink
correct VSCode refactor error
Browse files Browse the repository at this point in the history
  • Loading branch information
jqnatividad committed Apr 14, 2023
1 parent 7e0ec1f commit 8c45cf8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cmd/sniff.rs
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,7 @@ async fn get_file_to_sniff(args: &Args, tmpdir: &tempfile::TempDir) -> CliResult
}
}

fn decompress_snappy_file(path: &str, tmpdir: &self_update::TempDir) -> Result<String, CliError> {
fn decompress_snappy_file(path: &str, tmpdir: &tempfile::TempDir) -> Result<String, CliError> {
let mut snappy_file = std::fs::File::open(path)?;
let mut snappy_reader = snap::read::FrameDecoder::new(&mut snappy_file);
let file_stem = Path::new(path).file_stem().unwrap().to_str().unwrap();
Expand Down

0 comments on commit 8c45cf8

Please sign in to comment.