diff options
Diffstat (limited to 'cli')
-rw-r--r-- | cli/build.rs | 2 | ||||
-rw-r--r-- | cli/lsp/tsc.rs | 2 | ||||
-rw-r--r-- | cli/ops/bench.rs | 2 | ||||
-rw-r--r-- | cli/ops/mod.rs | 2 | ||||
-rw-r--r-- | cli/ops/testing.rs | 2 | ||||
-rw-r--r-- | cli/tsc/mod.rs | 2 |
6 files changed, 6 insertions, 6 deletions
diff --git a/cli/build.rs b/cli/build.rs index b4acc0d1d..24898a7a1 100644 --- a/cli/build.rs +++ b/cli/build.rs @@ -238,7 +238,7 @@ mod ts { cargo_manifest_dir: env!("CARGO_MANIFEST_DIR"), snapshot_path, startup_snapshot: None, - extensions: vec![Extension::builder() + extensions: vec![Extension::builder("deno_tsc") .ops(vec![ op_build_info::decl(), op_cwd::decl(), diff --git a/cli/lsp/tsc.rs b/cli/lsp/tsc.rs index 9f2ac2ba0..fabe30ac7 100644 --- a/cli/lsp/tsc.rs +++ b/cli/lsp/tsc.rs @@ -2805,7 +2805,7 @@ fn js_runtime(performance: Arc<Performance>) -> JsRuntime { } fn init_extension(performance: Arc<Performance>) -> Extension { - Extension::builder() + Extension::builder("deno_tsc") .ops(vec![ op_exists::decl(), op_is_cancelled::decl(), diff --git a/cli/ops/bench.rs b/cli/ops/bench.rs index 3b27ffa7e..9b70cfa79 100644 --- a/cli/ops/bench.rs +++ b/cli/ops/bench.rs @@ -22,7 +22,7 @@ pub fn init( sender: UnboundedSender<BenchEvent>, filter: TestFilter, ) -> Extension { - Extension::builder() + Extension::builder("deno_bench") .ops(vec![ op_pledge_test_permissions::decl(), op_restore_test_permissions::decl(), diff --git a/cli/ops/mod.rs b/cli/ops/mod.rs index 96599a663..c31a30531 100644 --- a/cli/ops/mod.rs +++ b/cli/ops/mod.rs @@ -14,7 +14,7 @@ pub fn cli_exts(ps: ProcState) -> Vec<Extension> { } fn init_proc_state(ps: ProcState) -> Extension { - Extension::builder() + Extension::builder("deno_cli") .ops(vec![op_npm_process_state::decl()]) .state(move |state| { state.put(ps.clone()); diff --git a/cli/ops/testing.rs b/cli/ops/testing.rs index e5c0a2b99..e9d0acf41 100644 --- a/cli/ops/testing.rs +++ b/cli/ops/testing.rs @@ -30,7 +30,7 @@ pub fn init( fail_fast_tracker: FailFastTracker, filter: TestFilter, ) -> Extension { - Extension::builder() + Extension::builder("deno_test") .ops(vec![ op_pledge_test_permissions::decl(), op_restore_test_permissions::decl(), diff --git a/cli/tsc/mod.rs b/cli/tsc/mod.rs index 497105cb5..c08b4e1ae 100644 --- a/cli/tsc/mod.rs +++ b/cli/tsc/mod.rs @@ -770,7 +770,7 @@ pub fn exec(request: Request) -> Result<Response, AnyError> { .collect(); let mut runtime = JsRuntime::new(RuntimeOptions { startup_snapshot: Some(compiler_snapshot()), - extensions: vec![Extension::builder() + extensions: vec![Extension::builder("deno_cli_tsc") .ops(vec![ op_cwd::decl(), op_create_hash::decl(), |