Skip to content

Commit

Permalink
fix(bun, windows): Fix "A required privilege is not held by the clien…
Browse files Browse the repository at this point in the history
…t." (#5126)
  • Loading branch information
pyranota authored Jan 24, 2025
1 parent 316a216 commit 74bb660
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/windmill-worker/src/bun_executor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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| {
Expand Down

0 comments on commit 74bb660

Please sign in to comment.