Skip to content

Commit

Permalink
1534 stepper description error for blockexpression (#1586)
Browse files Browse the repository at this point in the history
* This branch refers to Description error for BlockExpression #1534

* prettier spacing changes

---------

Co-authored-by: Hans Delano <[email protected]>
  • Loading branch information
FYL2003 and hanscau authored Mar 19, 2024
1 parent 8b95d80 commit 746eb8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/stepper/stepper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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]),
Expand Down

0 comments on commit 746eb8b

Please sign in to comment.