From c41d4ff90e09b63bd1894052352a5acba57b1704 Mon Sep 17 00:00:00 2001 From: Leo Kettmeir Date: Sun, 8 Jan 2023 23:48:46 +0100 Subject: feat(core): allow specifying name and dependencies of an Extension (#17301) --- ext/console/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/console') diff --git a/ext/console/lib.rs b/ext/console/lib.rs index 3d98fc57f..d8fdb38f3 100644 --- a/ext/console/lib.rs +++ b/ext/console/lib.rs @@ -5,7 +5,7 @@ use deno_core::Extension; use std::path::PathBuf; pub fn init() -> Extension { - Extension::builder() + Extension::builder(env!("CARGO_PKG_NAME")) .js(include_js_files!( prefix "deno:ext/console", "01_colors.js", -- cgit v1.2.3