refactor: ProcState::build -> ProcState::from_flags (#18672)

This commit is contained in:
David Sherret 2023-04-12 14:54:28 -04:00 committed by GitHub
parent 66a22d231a
commit 9c255b2843
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
18 changed files with 31 additions and 32 deletions

View file

@ -259,7 +259,7 @@ impl TestRun {
let args = self.get_args();
lsp_log!("Executing test run with arguments: {}", args.join(" "));
let flags = flags_from_vec(args.into_iter().map(String::from).collect())?;
let ps = proc_state::ProcState::build(flags).await?;
let ps = proc_state::ProcState::from_flags(flags).await?;
// Various test files should not share the same permissions in terms of
// `PermissionsContainer` - otherwise granting/revoking permissions in one
// file would have impact on other files, which is undesirable.