Fix file references in comments (#20093)

Signed-off-by: simpleqt <89645338+simpleqt@users.noreply.github.com>
This commit is contained in:
陈志谦 authored and GitHub committed 2026-09-17 03:34:41 +08:00
1 parent 79e74c405b
commit 2ee9998fc3
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -4,7 +4,7 @@ import postprocess from "./postprocess/index.js";
import createParser from "./utilities/create-parser.js"; import createParser from "./utilities/create-parser.js";
// https://github.com/facebook/flow/blob/7c64d4b077bc6fc45c12cee3cfa7368fdb2186ce/packages/flow-parser/oxidized-src/ParserOptions.js#L15 // 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 = { const parseOptions = {
flow: "all", flow: "all",
babel: false, babel: false,
+1 -1
View File
@@ -202,7 +202,7 @@ function printTernaryOld(path, options, print) {
const parts = []; const parts = [];
// We print a ConditionalExpression in either "JSX mode" or "normal mode". // 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; let jsxMode = false;
const { parent } = path; const { parent } = path;
const isParentTest = const isParentTest =