Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

perf(cli): Optimize setting up node_modules on macOS #23980

Merged
merged 9 commits into from
May 28, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix non mac
  • Loading branch information
nathanwhit committed May 25, 2024
commit 71c569f9c2f9bb53f6e9e66677adbc02b6fe13d3
3 changes: 2 additions & 1 deletion cli/util/fs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -538,6 +538,8 @@ mod clone_dir_imp {
log::debug!("Failed to hard link dir {:?} to {:?}: {}", from, to, e);
copy_dir_recursive(from, to)?;
}

Ok(())
}
}
}
Expand Down Expand Up @@ -581,7 +583,6 @@ pub fn copy_dir_recursive(from: &Path, to: &Path) -> Result<(), AnyError> {
Ok(())
}

#[allow(dead_code)]
/// Hardlinks the files in one directory to another directory.
///
/// Note: Does not handle symlinks.
Expand Down