Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
sosukesuzuki committed Mar 26, 2020
1 parent 4f197a6 commit ff39fc0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/language-js/printer-estree.js
Expand Up @@ -5740,10 +5740,10 @@ function printBinaryishExpressions(
// precedence level and should be treated as a separate group, so
// print them normally. (This doesn't hold for the `**` operator,
// which is unique in that it is right-associative.)
const leftNodeOprator = getBinaryishNodeNames(node[leftNodeName]).operator;
const leftNodeOperator = getBinaryishNodeNames(node[leftNodeName]).operator;
if (
node.type === "NGPipeExpression" ||
shouldFlatten(operator, leftNodeOprator)
shouldFlatten(operator, leftNodeOperator)
) {
// Flatten them out by recursively calling this function.
parts = parts.concat(
Expand Down

0 comments on commit ff39fc0

Please sign in to comment.