summaryrefslogtreecommitdiff
path: root/cli/main.rs
diff options
context:
space:
mode:
authorKevin (Kun) "Kassimo" Qian <kevinkassimo@gmail.com>2019-08-05 04:23:41 -0700
committerRyan Dahl <ry@tinyclouds.org>2019-08-05 07:23:41 -0400
commitddee2dff14772ade16e282ad18eda6f5054ce94e (patch)
tree473cdf935b8d0254a7ab8e0c89fd407201793ac6 /cli/main.rs
parentaaa7a3eac4df0de9a93dc8fc4717d38212a3de5b (diff)
Provide option to delete Deno namespace in worker (#2717)
Diffstat (limited to 'cli/main.rs')
-rw-r--r--cli/main.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/cli/main.rs b/cli/main.rs
index d8d834e8f..ff757ed36 100644
--- a/cli/main.rs
+++ b/cli/main.rs
@@ -196,8 +196,10 @@ fn create_worker_and_state(
s.status(status, msg).expect("shell problem");
}
});
+ // TODO(kevinkassimo): maybe make include_deno_namespace also configurable?
let state =
- ThreadSafeState::new(flags, argv, ops::op_selector_std, progress).unwrap();
+ ThreadSafeState::new(flags, argv, ops::op_selector_std, progress, true)
+ .unwrap();
let worker = Worker::new(
"main".to_string(),
startup_data::deno_isolate_init(),