fix(bun, windows): Fix "A required privilege is not held by the client." (#5126)

This commit is contained in:
pyranota
2025-01-24 17:32:29 +03:00
committed by GitHub
parent 316a2167e7
commit 74bb660b97
+1 -1
View File
@@ -906,7 +906,7 @@ pub async fn handle_bun_job(
#[cfg(windows)]
{
target = format!("{job_dir}\\main.js");
symlink = std::os::windows::fs::symlink_dir(&local_path, &target);
symlink = std::fs::hard_link(&local_path, &target);
}
symlink.map_err(|e| {