diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2020-04-25 01:03:45 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-25 01:03:45 +0200 |
commit | 1378df33647e2608733d88121b77ff2f839cddfa (patch) | |
tree | e2ecdf2028761e88eeb777d93bdd807384a36863 /cli/worker.rs | |
parent | 912a57f6a20c632c306f4e044df7618a3971abbf (diff) |
remove bootstrap methods from global scope after bootstrapping (#4869)
Diffstat (limited to 'cli/worker.rs')
-rw-r--r-- | cli/worker.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/worker.rs b/cli/worker.rs index 46e7eeaff..858958ecf 100644 --- a/cli/worker.rs +++ b/cli/worker.rs @@ -382,7 +382,7 @@ mod tests { startup_data::deno_isolate_init(), state.clone(), ); - worker.execute("bootstrapMainRuntime()").unwrap(); + worker.execute("bootstrap.mainRuntime()").unwrap(); let result = worker.execute_module(&module_specifier).await; if let Err(err) = result { eprintln!("execute_mod err {:?}", err); @@ -404,7 +404,7 @@ mod tests { startup_data::deno_isolate_init(), state, ); - worker.execute("bootstrapMainRuntime()").unwrap(); + worker.execute("bootstrap.mainRuntime()").unwrap(); worker } |