diff options
author | Nayeem Rahman <nayeemrmn99@gmail.com> | 2024-08-28 05:15:48 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-28 05:15:48 +0100 |
commit | 97d1635343dc6e93c8dcf4b116922de5b9c57af3 (patch) | |
tree | 6edb8630d4ec473c73c47ace90a7053a898f5570 /cli/lsp/config.rs | |
parent | efcabce1c117a2e0fed8604d887695a0a19a37ad (diff) |
fix(lsp): panic on url_to_uri() (#25238)
Diffstat (limited to 'cli/lsp/config.rs')
-rw-r--r-- | cli/lsp/config.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/lsp/config.rs b/cli/lsp/config.rs index 4a279a7c4..ba5cc3ac4 100644 --- a/cli/lsp/config.rs +++ b/cli/lsp/config.rs @@ -850,7 +850,7 @@ impl Config { let mut config = Self::default(); let mut folders = vec![]; for root_url in root_urls { - let root_uri = url_to_uri(&root_url); + let root_uri = url_to_uri(&root_url).unwrap(); let name = root_url.path_segments().and_then(|s| s.last()); let name = name.unwrap_or_default().to_string(); folders.push(( |