Skip to content

Commit

Permalink
Fix comments (#11464)
Browse files Browse the repository at this point in the history
  • Loading branch information
fisker committed Sep 8, 2021
1 parent 7545310 commit 04e1cee
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/language-js/parse/babel.js
Expand Up @@ -26,8 +26,8 @@ const parseOptions = {
errorRecovery: true,
createParenthesizedExpressions: true,
plugins: [
// When adding a plugin, please add a test in `tests/js/babel-plugins`,
// To remove plugins, remove it here and run `yarn test tests/js/babel-plugins` to verify
// When adding a plugin, please add a test in `tests/format/js/babel-plugins`,
// To remove plugins, remove it here and run `yarn test tests/format/js/babel-plugins` to verify
"doExpressions",
"exportDefaultFrom",
"functionBind",
Expand Down
2 changes: 1 addition & 1 deletion src/language-js/print/ternary.js
Expand Up @@ -208,7 +208,7 @@ function printTernary(path, options, print) {
const parts = [];

// We print a ConditionalExpression in either "JSX mode" or "normal mode".
// See tests/jsx/conditional-expression.js for more info.
// See `tests/format/jsx/conditional-expression.js` for more info.
let jsxMode = false;
const parent = path.getParentNode();
const isParentTest =
Expand Down

0 comments on commit 04e1cee

Please sign in to comment.