From 979f0689891b6bfee539fb444ba93d6ea65fa17b Mon Sep 17 00:00:00 2001 From: Taiki Endo Date: Fri, 27 Jan 2023 23:48:46 +0900 Subject: [PATCH] codegen: Tweak log message --- tools/codegen/src/main.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/codegen/src/main.rs b/tools/codegen/src/main.rs index 3fe1fb48..f6511bd4 100644 --- a/tools/codegen/src/main.rs +++ b/tools/codegen/src/main.rs @@ -189,17 +189,17 @@ fn main() -> Result<()> { } }; - eprintln!("downloading {url} for checksum"); + eprintln!("downloading {url} for checksum..."); let download_cache = download_cache_dir.join(format!( "{version}-{platform:?}-{}", Path::new(&url).file_name().unwrap().to_str().unwrap() )); if download_cache.is_file() { - eprintln!("{url} is already downloaded"); + eprintln!(" already downloaded"); fs::File::open(download_cache)?.read_to_end(&mut buf)?; } else { download(&url)?.into_reader().read_to_end(&mut buf)?; - eprintln!("downloaded complete"); + eprintln!(" downloaded complete"); fs::write(download_cache, &buf)?; } eprintln!("getting sha256 hash for {url}");