diff options
author | Leo Kettmeir <crowlkats@toaxl.com> | 2023-01-08 23:48:46 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-08 23:48:46 +0100 |
commit | c41d4ff90e09b63bd1894052352a5acba57b1704 (patch) | |
tree | 52be95551ed263c2f4831aaefc78bb6fdda6d89c /runtime/ops/signal.rs | |
parent | 2be1282be42369e558cc77f75b22488ce7a8215e (diff) |
feat(core): allow specifying name and dependencies of an Extension (#17301)
Diffstat (limited to 'runtime/ops/signal.rs')
-rw-r--r-- | runtime/ops/signal.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/ops/signal.rs b/runtime/ops/signal.rs index 14a9215ed..0af9a5c44 100644 --- a/runtime/ops/signal.rs +++ b/runtime/ops/signal.rs @@ -21,7 +21,7 @@ use tokio::signal::unix::{signal, Signal, SignalKind}; use tokio::signal::windows::{ctrl_break, ctrl_c, CtrlBreak, CtrlC}; pub fn init() -> Extension { - Extension::builder() + Extension::builder("deno_signal") .ops(vec![ op_signal_bind::decl(), op_signal_unbind::decl(), |