summaryrefslogtreecommitdiff
path: root/cli/js/repl.ts
diff options
context:
space:
mode:
authorNayeem Rahman <nayeemrmn99@gmail.com>2020-07-11 05:52:18 +0100
committerGitHub <noreply@github.com>2020-07-11 00:52:18 -0400
commit5ec41cbcc2778a80b6ee91f0c391fc2edec0a8e0 (patch)
tree71d44638e72871624aef63deca19eb271ffa8604 /cli/js/repl.ts
parent40d081d3d9f64bcd2524da86fb78808ac1d7b888 (diff)
feat(Deno.inspect): Add sorted, trailingComma, compact and iterableLimit to InspectOptions (#6591)
Diffstat (limited to 'cli/js/repl.ts')
-rw-r--r--cli/js/repl.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/cli/js/repl.ts b/cli/js/repl.ts
index daa112e1e..8a37d991f 100644
--- a/cli/js/repl.ts
+++ b/cli/js/repl.ts
@@ -3,16 +3,16 @@
import { exit } from "./ops/os.ts";
import { core } from "./core.ts";
import { version } from "./version.ts";
-import { stringifyArgs } from "./web/console.ts";
+import { inspectArgs } from "./web/console.ts";
import { startRepl, readline } from "./ops/repl.ts";
import { close } from "./ops/resources.ts";
function replLog(...args: unknown[]): void {
- core.print(stringifyArgs(args) + "\n");
+ core.print(inspectArgs(args) + "\n");
}
function replError(...args: unknown[]): void {
- core.print(stringifyArgs(args) + "\n", true);
+ core.print(inspectArgs(args) + "\n", true);
}
// Error messages that allow users to continue input