mirror of
https://github.com/modrinth/code.git
synced 2026-08-25 09:04:55 +00:00
fix: update checking version match reliability (#6411)
This commit is contained in:
@@ -456,6 +456,7 @@ pub async fn install_zipped_mrpack_files(
|
||||
project.path.as_str(),
|
||||
project.hashes.get(&PackFileHash::Sha1).map(|x| &**x),
|
||||
ProjectType::get_from_parent_folder(&path),
|
||||
None,
|
||||
&state.pool,
|
||||
)
|
||||
.await?;
|
||||
@@ -514,6 +515,7 @@ pub async fn install_zipped_mrpack_files(
|
||||
ProjectType::get_from_parent_folder(
|
||||
relative_override_file_path.as_str(),
|
||||
),
|
||||
None,
|
||||
&state.pool,
|
||||
)
|
||||
.await?;
|
||||
|
||||
@@ -547,6 +547,7 @@ pub async fn add_project_from_path(
|
||||
bytes::Bytes::from(file),
|
||||
None,
|
||||
project_type,
|
||||
None,
|
||||
&state.io_semaphore,
|
||||
&state.pool,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user