diff options
author | Kitson Kelly <me@kitsonkelly.com> | 2019-03-26 23:22:07 +1100 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2019-03-26 08:22:07 -0400 |
commit | c43cfedeba5d6ac96e1b1febed8549e750606e3f (patch) | |
tree | 7b3799259895acadf25294704ea03a9465051e9c /js/console.ts | |
parent | ed2977d3c0e9ab3295a3bb47b844b2953d608197 (diff) |
namespace reorg: libdeno and DenoCore to Deno.core (#1998)
Diffstat (limited to 'js/console.ts')
-rw-r--r-- | js/console.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/console.ts b/js/console.ts index b68794d3f..3669a1d3b 100644 --- a/js/console.ts +++ b/js/console.ts @@ -5,7 +5,7 @@ import { TextEncoder } from "./text_encoding"; import { File, stdout } from "./files"; import { cliTable } from "./console_table"; import { formatError } from "./format_error"; -import { libdeno } from "./libdeno"; +import { core } from "./core"; type ConsoleContext = Set<unknown>; type ConsoleOptions = Partial<{ @@ -323,7 +323,7 @@ function createObjectString( ...args: [ConsoleContext, number, number] ): string { if (value instanceof Error) { - const errorJSON = libdeno.errorToJSON(value); + const errorJSON = core.errorToJSON(value); return formatError(errorJSON); } else if (Array.isArray(value)) { return createArrayString(value, ...args); |