From 1a72c9ba23208f7236e5784011bc15640e50fe0b Mon Sep 17 00:00:00 2001 From: Kitson Kelly Date: Thu, 10 Dec 2020 11:12:46 +1100 Subject: fix(lsp): only resolve sources with supported schemas (#8696) Fixes #8695 --- cli/file_fetcher.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cli/file_fetcher.rs') diff --git a/cli/file_fetcher.rs b/cli/file_fetcher.rs index 5b2f6f74c..a17a8fc24 100644 --- a/cli/file_fetcher.rs +++ b/cli/file_fetcher.rs @@ -26,7 +26,7 @@ use std::pin::Pin; use std::sync::Arc; use std::sync::Mutex; -const SUPPORTED_SCHEMES: [&str; 3] = ["http", "https", "file"]; +pub const SUPPORTED_SCHEMES: [&str; 3] = ["http", "https", "file"]; /// A structure representing a source file. #[derive(Debug, Clone, Eq, PartialEq)] -- cgit v1.2.3