summaryrefslogtreecommitdiff
path: root/cli/lsp/testing/execution.rs
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2022-06-29 11:51:11 -0400
committerGitHub <noreply@github.com>2022-06-29 11:51:11 -0400
commit8c4420c0052ed374ce1692e5dfc8e4c67367a397 (patch)
tree1d09e18bc2402aafd771342347978997d3fea710 /cli/lsp/testing/execution.rs
parent1328a562306eb16e7c429519cc92d82a1c451315 (diff)
refactor: rename `RootConfig` to `CliOptions` (#15007)
Diffstat (limited to 'cli/lsp/testing/execution.rs')
-rw-r--r--cli/lsp/testing/execution.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/lsp/testing/execution.rs b/cli/lsp/testing/execution.rs
index 94301e198..366eedd6d 100644
--- a/cli/lsp/testing/execution.rs
+++ b/cli/lsp/testing/execution.rs
@@ -315,7 +315,7 @@ impl TestRun {
let flags = flags_from_vec(args.into_iter().map(String::from).collect())?;
let ps = proc_state::ProcState::build(flags).await?;
let permissions =
- Permissions::from_options(&ps.config.permissions_options());
+ Permissions::from_options(&ps.options.permissions_options());
test::check_specifiers(
&ps,
permissions.clone(),
@@ -331,7 +331,7 @@ impl TestRun {
let sender = TestEventSender::new(sender);
let (concurrent_jobs, fail_fast) =
- if let DenoSubcommand::Test(test_flags) = ps.config.sub_command() {
+ if let DenoSubcommand::Test(test_flags) = ps.options.sub_command() {
(
test_flags.concurrent_jobs.into(),
test_flags.fail_fast.map(|count| count.into()),