summaryrefslogtreecommitdiff
path: root/cli/lsp/testing/execution.rs
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2022-04-27 15:43:36 -0400
committerGitHub <noreply@github.com>2022-04-27 15:43:36 -0400
commit3b40be2f6eeef65f3338abe9e62db91122ef5d8a (patch)
treef8f5f315fe30fdd24e189ec46f6e26fcaf062c55 /cli/lsp/testing/execution.rs
parentba799b6729a71d95911d65be525107553d7d2186 (diff)
fix: `deno task` forward double hyphen (#14419)
Diffstat (limited to 'cli/lsp/testing/execution.rs')
-rw-r--r--cli/lsp/testing/execution.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/cli/lsp/testing/execution.rs b/cli/lsp/testing/execution.rs
index 92964de87..77a326618 100644
--- a/cli/lsp/testing/execution.rs
+++ b/cli/lsp/testing/execution.rs
@@ -300,7 +300,8 @@ impl TestRun {
) -> Result<(), AnyError> {
let args = self.get_args();
lsp_log!("Executing test run with arguments: {}", args.join(" "));
- let flags = flags::flags_from_vec(args)?;
+ let flags =
+ flags::flags_from_vec(args.into_iter().map(String::from).collect())?;
let ps = proc_state::ProcState::build(Arc::new(flags)).await?;
let permissions =
Permissions::from_options(&ps.flags.permissions_options());