summaryrefslogtreecommitdiff
path: root/ext/console
diff options
context:
space:
mode:
Diffstat (limited to 'ext/console')
-rw-r--r--ext/console/02_console.js2
-rw-r--r--ext/console/internal.d.ts2
-rw-r--r--ext/console/lib.rs6
3 files changed, 3 insertions, 7 deletions
diff --git a/ext/console/02_console.js b/ext/console/02_console.js
index 22524e6b9..0bafd532d 100644
--- a/ext/console/02_console.js
+++ b/ext/console/02_console.js
@@ -116,7 +116,7 @@ const {
WeakMapPrototype,
WeakSetPrototype,
} = primordials;
-import * as colors from "internal:ext/console/01_colors.js";
+import * as colors from "internal:deno_console/01_colors.js";
function isInvalidDate(x) {
return isNaN(DatePrototypeGetTime(x));
diff --git a/ext/console/internal.d.ts b/ext/console/internal.d.ts
index 965a879e7..fba711d5a 100644
--- a/ext/console/internal.d.ts
+++ b/ext/console/internal.d.ts
@@ -3,7 +3,7 @@
/// <reference no-default-lib="true" />
/// <reference lib="esnext" />
-declare module "internal:ext/console/02_console.js" {
+declare module "internal:deno_console/02_console.js" {
function createFilteredInspectProxy<TObject>(params: {
object: TObject;
keys: (keyof TObject)[];
diff --git a/ext/console/lib.rs b/ext/console/lib.rs
index 31ec884c1..158a1a05e 100644
--- a/ext/console/lib.rs
+++ b/ext/console/lib.rs
@@ -6,11 +6,7 @@ use std::path::PathBuf;
pub fn init() -> Extension {
Extension::builder(env!("CARGO_PKG_NAME"))
- .esm(include_js_files!(
- prefix "internal:ext/console",
- "01_colors.js",
- "02_console.js",
- ))
+ .esm(include_js_files!("01_colors.js", "02_console.js",))
.build()
}