diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2024-07-08 10:12:10 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-08 14:12:10 +0000 |
commit | 86010bec092d074b161800da06149cfb79fb9f4b (patch) | |
tree | 78ab91b1fffc53ff8a56fc86e2c6f0459b21a129 /cli/lsp/language_server.rs | |
parent | 1e97f0f1487d27b69d85ebe8e9d84c21af1d9dde (diff) |
fix(workspace): better cli file argument handling (#24447)
Closes https://github.com/denoland/deno/issues/24422
Diffstat (limited to 'cli/lsp/language_server.rs')
-rw-r--r-- | cli/lsp/language_server.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/lsp/language_server.rs b/cli/lsp/language_server.rs index b3deef35b..093ea1dab 100644 --- a/cli/lsp/language_server.rs +++ b/cli/lsp/language_server.rs @@ -3557,7 +3557,7 @@ impl Inner { .unwrap_or_else(|| self.initial_cwd.clone()); // todo: we need a way to convert config data to a Workspace let workspace = Arc::new(Workspace::discover( - deno_config::workspace::WorkspaceDiscoverStart::Dirs(&[ + deno_config::workspace::WorkspaceDiscoverStart::Paths(&[ initial_cwd.clone() ]), &WorkspaceDiscoverOptions { |