summaryrefslogtreecommitdiff
path: root/cli/file_fetcher.rs
diff options
context:
space:
mode:
authorKitson Kelly <me@kitsonkelly.com>2020-12-10 11:12:46 +1100
committerGitHub <noreply@github.com>2020-12-10 11:12:46 +1100
commit1a72c9ba23208f7236e5784011bc15640e50fe0b (patch)
tree48e206e1e231592d1343a014a7add7157ff5cbab /cli/file_fetcher.rs
parentde65312b7fca46ce5fe4d8e61eb5d17f599df4e1 (diff)
fix(lsp): only resolve sources with supported schemas (#8696)
Fixes #8695
Diffstat (limited to 'cli/file_fetcher.rs')
-rw-r--r--cli/file_fetcher.rs2
1 files changed, 1 insertions, 1 deletions
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)]