summaryrefslogtreecommitdiff
path: root/js/repl.ts
diff options
context:
space:
mode:
authorYoshiya Hinosawa <stibium121@gmail.com>2019-02-12 02:57:26 +0900
committerRyan Dahl <ry@tinyclouds.org>2019-02-11 12:57:26 -0500
commitd26655371b796cf5dad762d1b7154c25251cb41d (patch)
tree756f7710b86d2678fbdc2434ae1630741c19edc6 /js/repl.ts
parent90c7af27d7959e94a25f635e21b8d77cb347e135 (diff)
fix: improve formatting (#1732)
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);