fix: Replace URL in log with correct variable
This commit is contained in:
parent
2d29f3a5c7
commit
050509bb0d
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue