closes #11544, sorry for introduce this issue by pre pr. Release Notes: - N/A
Unified · Split
| @@ -674,7 +674,7 @@ fn start_background_scan_tasks( · 673 unmodified lines | |||
| 674 | let (scan_states_tx, mut scan_states_rx) = mpsc::unbounded(); | 674 | let (scan_states_tx, mut scan_states_rx) = mpsc::unbounded(); |
| 675 | let background_scanner = cx.background_executor().spawn({ | 675 | let background_scanner = cx.background_executor().spawn({ |
| 676 | let abs_path = if cfg!(target_os = "windows") { | 676 | let abs_path = if cfg!(target_os = "windows") { |
| 677 | abs_path.canonicalize().expect("start background scan tasks failed for canonicalize path {abs_path}") | 677 | abs_path.canonicalize().unwrap_or_else(|_| abs_path.to_path_buf()) |
| 678 | } else { | 678 | } else { |
| 679 | abs_path.to_path_buf() | 679 | abs_path.to_path_buf() |
| 680 | }; | 680 | }; |