Skip to content

Commit

Permalink
[prettierx] fix-up re: apply language-js features (...)
Browse files Browse the repository at this point in the history
remove some workaround code from @brodybits not needed from:

- src/language-js/parse-postprocess.js

was introduced by @brodybits in: a0eb2be
  • Loading branch information
brodybits committed Jul 4, 2021
1 parent eccd58e commit bf5c9dd
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/language-js/parse-postprocess.js
Expand Up @@ -160,10 +160,6 @@ function postprocess(ast, options) {
node.optional = true;
}
break;
case "IfStatement": // [prettierx] quick workaround breakBeforeElse & AST compare test
if (node.consequent.innerComments) {
delete node.consequent.innerComments;
}
}
});

Expand Down

0 comments on commit bf5c9dd

Please sign in to comment.