Skip to content

Commit

Permalink
Undid inconsistent change
Browse files Browse the repository at this point in the history
  • Loading branch information
luvies committed Jun 22, 2019
1 parent 3d6acef commit 2e2c095
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/evaluator/expression-evaluator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ export class ExpressionEvaluator {
switch (expression.operator) {
case '||':
if (left.value) {
({ value } = left);
value = left.value;
} else {
right = await this._evalExpression(expression.right);
value = right.value;
Expand Down

0 comments on commit 2e2c095

Please sign in to comment.