From 746eb8b1e84faf596c9745ca566eccbe7b21848a Mon Sep 17 00:00:00 2001 From: Feng Yilong <97390773+FYL2003@users.noreply.github.com> Date: Tue, 19 Mar 2024 12:00:40 +0800 Subject: [PATCH] 1534 stepper description error for blockexpression (#1586) * This branch refers to Description error for BlockExpression #1534 * prettier spacing changes --------- Co-authored-by: Hans Delano <43413899+hanscau@users.noreply.github.com> --- src/stepper/stepper.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stepper/stepper.ts b/src/stepper/stepper.ts index 5c63b811d..05017857b 100644 --- a/src/stepper/stepper.ts +++ b/src/stepper/stepper.ts @@ -1479,7 +1479,7 @@ function reduceMain( Program: (target: es.Program): string => bodify(target.body[0]), BlockExpression: (target: BlockExpression): string => - target.body.length === 0 ? 'Empty block statement evaluated' : bodify(target.body[0]), + target.body.length === 0 ? 'Empty block expression evaluated' : bodify(target.body[0]), BlockStatement: (target: es.BlockStatement): string => target.body.length === 0 ? 'Empty block statement evaluated' : bodify(target.body[0]),