diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2020-07-14 15:24:17 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-14 15:24:17 -0400 |
commit | cde4dbb35132848ffece59ef9cfaccff32347124 (patch) | |
tree | cc7830968c6decde704c8cfb83c9185193dc698f /cli/js/repl.ts | |
parent | 9eca71caa1674c31f9cc5d4e86c03f10b59e0a00 (diff) |
Use dprint for internal formatting (#6682)
Diffstat (limited to 'cli/js/repl.ts')
-rw-r--r-- | cli/js/repl.ts | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/cli/js/repl.ts b/cli/js/repl.ts index 8a37d991f..9f2693de6 100644 --- a/cli/js/repl.ts +++ b/cli/js/repl.ts @@ -56,10 +56,9 @@ function evaluate(code: string): boolean { if (!errInfo) { // when a function is eval'ed with just "use strict" sometimes the result // is "use strict" which should be discarded - lastEvalResult = - typeof result === "string" && result === "use strict" - ? undefined - : result; + lastEvalResult = typeof result === "string" && result === "use strict" + ? undefined + : result; if (!isCloseCalled()) { replLog(lastEvalResult); } |