Skip to content

Commit

Permalink
fix: 11 to 0-8
Browse files Browse the repository at this point in the history
  • Loading branch information
Jinbao1001 committed Jul 23, 2024
1 parent 653d0bf commit 8d666c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/mako/src/generate/generate_chunks.rs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ impl ChunkFile {
hasher.write_str(self.file_name.as_str());
return format!(
"{}.{}",
&hasher.finish().to_string()[11..],
&hasher.finish().to_string()[0..8],
&self.file_name[self.file_name.len() - reserve_file_name_length..]
);
}
Expand Down

0 comments on commit 8d666c6

Please sign in to comment.