summaryrefslogtreecommitdiff
path: root/cli/ops
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2020-10-07 17:20:20 +0200
committerGitHub <noreply@github.com>2020-10-07 17:20:20 +0200
commit9b70f2f34540909daf4f4bce5ab77e3bfb8f1bed (patch)
tree38f4ea4d00953faa2e9ca7ec4edb9cdd17355e87 /cli/ops
parent83f6def3c62e7f336516d59881e8f9f7846d9024 (diff)
refactor: rename isolate to js_runtime (#7858)
This commit renames occurrences of "isolate" variable name to "js_runtime". This was outstanding debt after renaming deno_core::CoreIsolate to JsRuntime.
Diffstat (limited to 'cli/ops')
-rw-r--r--cli/ops/worker_host.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/ops/worker_host.rs b/cli/ops/worker_host.rs
index 17e0e397f..6d74bb9f4 100644
--- a/cli/ops/worker_host.rs
+++ b/cli/ops/worker_host.rs
@@ -62,7 +62,7 @@ fn create_web_worker(
);
if has_deno_namespace {
- let state = worker.isolate.op_state();
+ let state = worker.js_runtime.op_state();
let mut state = state.borrow_mut();
let (stdin, stdout, stderr) = get_stdio();
if let Some(stream) = stdin {