Fixing parameters by reference
This commit is contained in:
parent
1cda0dc377
commit
e31fc77254
|
@ -143,7 +143,7 @@ pub fn compress(
|
|||
output_path: String,
|
||||
parameters: &CSParameters,
|
||||
) -> Result<(), Box<dyn Error>> {
|
||||
validate_parameters(¶meters)?;
|
||||
validate_parameters(parameters)?;
|
||||
let file_type = get_filetype(&input_path);
|
||||
|
||||
match file_type {
|
||||
|
|
Loading…
Reference in New Issue