summaryrefslogtreecommitdiff
path: root/cli/lsp/diagnostics.rs
diff options
context:
space:
mode:
authorsigmaSd <bedisnbiba@gmail.com>2023-09-05 16:36:35 +0100
committerGitHub <noreply@github.com>2023-09-05 16:36:35 +0100
commitbe1fc754a14683bf640b7bf0ecf6e286d02ee118 (patch)
treee7861eba1de4c0d2bb3afe1cc8c407f8e3b4f668 /cli/lsp/diagnostics.rs
parent4a561f12dbae5a49203eb2c08fed71d9d0dfeb99 (diff)
feat(lsp): provide the deno.cache command server-side (#20111)
Co-authored-by: Nayeem Rahman <nayeemrmn99@gmail.com>
Diffstat (limited to 'cli/lsp/diagnostics.rs')
-rw-r--r--cli/lsp/diagnostics.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/lsp/diagnostics.rs b/cli/lsp/diagnostics.rs
index f2f45a928..0bee08c1d 100644
--- a/cli/lsp/diagnostics.rs
+++ b/cli/lsp/diagnostics.rs
@@ -996,7 +996,7 @@ impl DenoDiagnostic {
command: Some(lsp::Command {
title: "".to_string(),
command: "deno.cache".to_string(),
- arguments: Some(vec![json!([data.specifier])]),
+ arguments: Some(vec![json!([data.specifier]), json!(&specifier)]),
}),
..Default::default()
}