diff --git a/src/language-js/parse/flow.js b/src/language-js/parse/flow.js index b8e0a8dc6..b8a5298e1 100644 --- a/src/language-js/parse/flow.js +++ b/src/language-js/parse/flow.js @@ -4,7 +4,7 @@ import postprocess from "./postprocess/index.js"; import createParser from "./utilities/create-parser.js"; // https://github.com/facebook/flow/blob/7c64d4b077bc6fc45c12cee3cfa7368fdb2186ce/packages/flow-parser/oxidized-src/ParserOptions.js#L15 -// Keep this sync with `/scripts/sync-flow-test.js` +// Keep this in sync with `/scripts/sync-flow-tests.cjs` const parseOptions = { flow: "all", babel: false, diff --git a/src/language-js/print/ternary-old.js b/src/language-js/print/ternary-old.js index 28ec1efc3..a84f19746 100644 --- a/src/language-js/print/ternary-old.js +++ b/src/language-js/print/ternary-old.js @@ -202,7 +202,7 @@ function printTernaryOld(path, options, print) { const parts = []; // We print a ConditionalExpression in either "JSX mode" or "normal mode". - // See `tests/format/jsx/conditional-expression.js` for more info. + // See `tests/format/jsx/jsx/conditional-expression.js` for more info. let jsxMode = false; const { parent } = path; const isParentTest =