diff options
Diffstat (limited to 'cli/lsp/tsc.rs')
-rw-r--r-- | cli/lsp/tsc.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/lsp/tsc.rs b/cli/lsp/tsc.rs index 3239ba700..4ef0d4e64 100644 --- a/cli/lsp/tsc.rs +++ b/cli/lsp/tsc.rs @@ -463,7 +463,7 @@ impl TsServer { let mut diagnostics_map = IndexMap::with_capacity(specifiers.len()); let mut specifiers_by_scope = BTreeMap::new(); for specifier in specifiers { - let scope = if specifier.scheme() == "file" { + let scope = if snapshot.documents.is_valid_file_referrer(&specifier) { snapshot .config .tree |