Revert "fix: Replace URL in log with correct variable"

This reverts commit 050509bb0d.
This commit is contained in:
ev chang 2024-12-18 17:01:31 -05:00
parent b8588073e1
commit b26f864b1b
No known key found for this signature in database

View file

@ -273,8 +273,8 @@ pub async fn download_libraries(
}
}
tracing::info!("fetching #2 library '{}' from '{}'", &lib.name, &artifact.url);
let url = [lib.url.as_deref().unwrap_or("https://libraries.minecraft.net/"), &artifact_path].concat();
tracing::info!("fetching #2 library '{}' from '{}'", &lib.name, &url);
let bytes = fetch(&url, None, &st.fetch_semaphore).await?;
write(&path, &bytes, &st.io_semaphore).await?;
tracing::trace!("fetched library {} to path {:?}", &lib.name, &path);