summaryrefslogtreecommitdiff
path: root/cli/main.rs
diff options
context:
space:
mode:
authorcuobiezi <liujw22@gmail.com>2022-07-12 01:02:23 +0800
committerGitHub <noreply@github.com>2022-07-11 19:02:23 +0200
commit83818c914b6bd3e0d9323117b760f08d13d295e7 (patch)
tree14a7f11d301564f5042be4ac1d910e61ffb515b7 /cli/main.rs
parent12df9f367926ef73223a0aebd2e4dc0aaec4774e (diff)
refactor: rename run_basic to run_local (#15068)
Diffstat (limited to 'cli/main.rs')
-rw-r--r--cli/main.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/main.rs b/cli/main.rs
index 18eb58ff5..c6188fec8 100644
--- a/cli/main.rs
+++ b/cli/main.rs
@@ -90,7 +90,7 @@ use deno_runtime::colors;
use deno_runtime::ops::worker_host::CreateWebWorkerCb;
use deno_runtime::ops::worker_host::PreloadModuleCb;
use deno_runtime::permissions::Permissions;
-use deno_runtime::tokio_util::run_basic;
+use deno_runtime::tokio_util::run_local;
use deno_runtime::web_worker::WebWorker;
use deno_runtime::web_worker::WebWorkerOptions;
use deno_runtime::worker::MainWorker;
@@ -1392,7 +1392,7 @@ pub fn main() {
exit_code
};
- let exit_code = unwrap_or_exit(run_basic(exit_code));
+ let exit_code = unwrap_or_exit(run_local(exit_code));
std::process::exit(exit_code);
}