Skip to content

Commit

Permalink
fix write_version feature flag
Browse files Browse the repository at this point in the history
  • Loading branch information
sokra committed Nov 14, 2024
1 parent c99c39e commit 4e18121
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion turbopack/crates/turbo-tasks-fs/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -735,7 +735,7 @@ impl FileSystem for DiskFileSystem {
f.set_permissions(file.meta.permissions.into()).await?;
#[cfg(feature = "write_version")]
{
let mut full_path = full_path;
let mut full_path = full_path.into_owned();
let hash = hash_xxh3_hash64(file);
let ext = full_path.extension();
let ext = if let Some(ext) = ext {
Expand Down

0 comments on commit 4e18121

Please sign in to comment.