Fix migration checksum type inference
All checks were successful
Codex Template Compliance / template-compliance (push) Successful in 7s
Build / build-windows (push) Successful in 38m0s

This commit is contained in:
MrSphay
2026-05-15 18:57:07 +02:00
parent bd4e6d09c7
commit ae8825a5e3

View File

@@ -74,9 +74,9 @@ async fn reconcile_historical_migration_checksums(
.await?; .await?;
if let Some(stored_checksum) = stored_checksum { if let Some(stored_checksum) = stored_checksum {
let bundled_checksum = init_migration.checksum.as_ref(); let bundled_checksum: &[u8] = init_migration.checksum.as_ref();
if stored_checksum != bundled_checksum { if stored_checksum.as_slice() != bundled_checksum {
tracing::warn!( tracing::warn!(
"Reconciling checksum for historical Modrinth init migration {}", "Reconciling checksum for historical Modrinth init migration {}",
HISTORICAL_INIT_MIGRATION_VERSION HISTORICAL_INIT_MIGRATION_VERSION