Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
more windows fixes
Browse files Browse the repository at this point in the history
aawsome committed Jan 11, 2025
1 parent 15e23f1 commit 799e2a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/core/src/backend/ignore.rs
Original file line number Diff line number Diff line change
@@ -504,7 +504,7 @@ fn map_entry(
source: err,
})?;
let target = target.as_os_str().as_encoded_bytes();
let node_type = NodeType::from_link(&target);
let node_type = NodeType::from_link(&UnixPath::new(target).to_typed_path());
Node::new_node(name, node_type, meta)
} else {
Node::new_node(name, NodeType::File, meta)

0 comments on commit 799e2a8

Please sign in to comment.