Skip to content

Commit 89b9be3

Browse files
committed
Fix compile error on windows
1 parent 4a7cb2a commit 89b9be3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/backend/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ pub fn copy_content_recursive(from: &Path, to: &Path, strict: bool, progress: &d
245245

246246
} else if file_type.is_dir() {
247247
#[cfg(windows)]
248-
if let Some(target) = junction::get_target(&path) {
248+
if let Ok(target) = junction::get_target(&path) {
249249
if let Ok(internal) = target.strip_prefix(&from) {
250250
internal_junctions.push((relative.to_path_buf(), internal.to_path_buf()));
251251
} else {

0 commit comments

Comments
 (0)