summaryrefslogtreecommitdiff
path: root/cli/ops/workers.rs
diff options
context:
space:
mode:
authorKevin (Kun) "Kassimo" Qian <kevinkassimo@gmail.com>2019-10-19 14:19:19 -0700
committerRy Dahl <ry@tinyclouds.org>2019-10-19 17:19:19 -0400
commiteff2a27bd02f8987e904907ae6ebb6cb9c07944b (patch)
tree7f20c97207fe4ec4fca4be5871a40645e073fb1d /cli/ops/workers.rs
parent4ae1838a6ebadbe156af101e298ffb8b198cc238 (diff)
feat: Allow "deno eval" to run code as module (#3148)
Diffstat (limited to 'cli/ops/workers.rs')
-rw-r--r--cli/ops/workers.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/ops/workers.rs b/cli/ops/workers.rs
index c8c4252c3..670ca6b47 100644
--- a/cli/ops/workers.rs
+++ b/cli/ops/workers.rs
@@ -172,7 +172,7 @@ fn op_create_worker(
}
let op = worker
- .execute_mod_async(&module_specifier, false)
+ .execute_mod_async(&module_specifier, None, false)
.and_then(move |()| Ok(exec_cb(worker)));
let result = op.wait()?;