Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
amr-crabnebula committed Sep 26, 2024
1 parent 8d63acf commit 84f2844
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions crates/utils/src/current_exe.rs
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,8 @@ impl StartingBinary {
not(feature = "process-relaunch-dangerous-allow-symlink-macos")
))]
fn has_symlink(path: &Path) -> Option<&Path> {
use std::fs;

path.ancestors().find(|ancestor| {
matches!(
ancestor
Expand Down

0 comments on commit 84f2844

Please sign in to comment.