summaryrefslogtreecommitdiff
path: root/js/repl.ts
diff options
context:
space:
mode:
Diffstat (limited to 'js/repl.ts')
-rw-r--r--js/repl.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/js/repl.ts b/js/repl.ts
index 6676721fc..162c6f42f 100644
--- a/js/repl.ts
+++ b/js/repl.ts
@@ -107,7 +107,8 @@ function evaluate(code: string): void {
} else {
if (errInfo.isNativeError) {
const formattedError = formatError(
- libdeno.errorToJSON(errInfo.thrown as Error));
+ libdeno.errorToJSON(errInfo.thrown as Error)
+ );
console.error(formattedError);
} else {
console.error("Thrown:", errInfo.thrown);