Skip to content

Commit 09c1c63

Browse files
committed
review: fix hash computation
1 parent 9e31b2d commit 09c1c63

File tree

1 file changed

+2
-2
lines changed
  • turbopack/crates/turbopack-core/src

1 file changed

+2
-2
lines changed

turbopack/crates/turbopack-core/src/ident.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -318,12 +318,12 @@ impl AssetIdent {
318318
has_hash = true;
319319
}
320320
if let Some(layer) = layer {
321-
1_u8.deterministic_hash(&mut hasher);
321+
5_u8.deterministic_hash(&mut hasher);
322322
layer.await?.deterministic_hash(&mut hasher);
323323
has_hash = true;
324324
}
325325
if let Some(content_type) = content_type {
326-
1_u8.deterministic_hash(&mut hasher);
326+
6_u8.deterministic_hash(&mut hasher);
327327
content_type.deterministic_hash(&mut hasher);
328328
has_hash = true;
329329
}

0 commit comments

Comments
 (0)