mirror of
https://github.com/denoland/deno.git
synced 2025-08-04 19:08:15 +00:00
refactor(cli): remove Clone
on ProcState
(#18874)
Slowly phasing this out.
This commit is contained in:
parent
96e214d9d0
commit
9a9473533e
6 changed files with 84 additions and 110 deletions
|
@ -108,7 +108,7 @@ pub async fn run(flags: Flags, repl_flags: ReplFlags) -> Result<i32, AnyError> {
|
|||
let resolver = ps.resolver.clone();
|
||||
let dir = ps.dir.clone();
|
||||
let file_fetcher = ps.file_fetcher.clone();
|
||||
let worker_factory = ps.into_cli_main_worker_factory();
|
||||
let worker_factory = ps.create_cli_main_worker_factory();
|
||||
|
||||
let mut worker = worker_factory
|
||||
.create_main_worker(main_module, permissions)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue