mirror of
https://github.com/crunchy-labs/crunchy-cli.git
synced 2026-01-21 12:12:00 -06:00
Fix double download progress output message
This commit is contained in:
parent
3d145b021b
commit
497f22ee49
1 changed files with 2 additions and 2 deletions
|
|
@ -350,11 +350,11 @@ async fn download_ffmpeg(
|
||||||
.arg(target.to_str().unwrap())
|
.arg(target.to_str().unwrap())
|
||||||
.spawn()?;
|
.spawn()?;
|
||||||
|
|
||||||
let _progress_handler = progress!("Generating output file");
|
let progress_handler = progress!("Generating output file");
|
||||||
if !ffmpeg.wait()?.success() {
|
if !ffmpeg.wait()?.success() {
|
||||||
bail!("{}", std::io::read_to_string(ffmpeg.stderr.unwrap())?)
|
bail!("{}", std::io::read_to_string(ffmpeg.stderr.unwrap())?)
|
||||||
}
|
}
|
||||||
info!("Output file generated");
|
progress_handler.stop("Output file generated");
|
||||||
|
|
||||||
if let Some(mut stdout_file) = stdout_tempfile {
|
if let Some(mut stdout_file) = stdout_tempfile {
|
||||||
let mut stdout = std::io::stdout();
|
let mut stdout = std::io::stdout();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue