diff options
author | Leo Kettmeir <crowlkats@toaxl.com> | 2023-02-05 17:49:20 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-05 17:49:20 +0100 |
commit | 84a96110cd8e74228fbab666e7af49edb7e24cc9 (patch) | |
tree | 8e1995e6ddb3836923f50e915294664aa27b7511 /cli/lsp/tsc.rs | |
parent | a09296322e1fd4451e903515a497d9e02e14ace6 (diff) |
refactor: rename `deno` specifiers to `internal` (#17655)
Diffstat (limited to 'cli/lsp/tsc.rs')
-rw-r--r-- | cli/lsp/tsc.rs | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/cli/lsp/tsc.rs b/cli/lsp/tsc.rs index 2f66e2d2d..e6e2581a8 100644 --- a/cli/lsp/tsc.rs +++ b/cli/lsp/tsc.rs @@ -1154,11 +1154,15 @@ impl ImplementationLocation { language_server: &language_server::Inner, ) -> lsp::Location { let specifier = normalize_specifier(&self.document_span.file_name) - .unwrap_or_else(|_| ModuleSpecifier::parse("deno://invalid").unwrap()); + .unwrap_or_else(|_| { + ModuleSpecifier::parse("internal://invalid").unwrap() + }); let uri = language_server .url_map .normalize_specifier(&specifier) - .unwrap_or_else(|_| ModuleSpecifier::parse("deno://invalid").unwrap()); + .unwrap_or_else(|_| { + ModuleSpecifier::parse("internal://invalid").unwrap() + }); lsp::Location { uri, range: self.document_span.text_span.to_range(line_index), |