We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a5f1d42 commit 5a56880Copy full SHA for 5a56880
crates/vite_global_cli/src/commands/env/global_install.rs
@@ -332,9 +332,11 @@ async fn materialize_symlinked_package_dir(node_modules_dir: &AbsolutePath) -> R
332
333
let package_dir_name =
334
node_modules_dir.as_path().file_name().and_then(|name| name.to_str()).unwrap_or("package");
335
- let temp_dir = node_modules_dir.parent().expect("package dir should have a parent").as_path().join(
336
- format!(".{package_dir_name}-materialized"),
337
- );
+ let temp_dir = node_modules_dir
+ .parent()
+ .expect("package dir should have a parent")
338
+ .as_path()
339
+ .join(format!(".{package_dir_name}-materialized"));
340
341
if temp_dir.as_path().exists() {
342
std::fs::remove_dir_all(&temp_dir)?;
0 commit comments