Skip to content

docs: fix stale file references in two language-js comments - #20093

Merged
fisker merged 1 commit into
prettier:mainfrom
simpleqt:sq916/stale-file-comments
Sep 16, 2026
Merged

fisker merged 1 commit into
prettier:mainfrom
simpleqt:sq916/stale-file-comments

Conversation

@simpleqt

Copy link
Copy Markdown
Contributor

Description

Two comments reference files by paths that no longer exist:

  • src/language-js/parse/flow.js:7: /scripts/sync-flow-test.js was renamed to sync-flow-tests.cjs (verified via git log R097); also restores the dropped "in" ("Keep this in sync with").
  • src/language-js/print/ternary-old.js:205: the referenced test lives at tests/format/jsx/jsx/conditional-expression.js, one level deeper (the flat path never existed per git history).

Comment-only change, so no changelog entry.

Checklist

  • I have read the contributing guidelines
  • I did not use AI to generate this PR
  • (If the above is not checked) I have reviewed the AI-generated content before submitting.

- flow.js pointed at scripts/sync-flow-test.js, which was renamed to
  sync-flow-tests.cjs (R097 in git history); the comment also dropped
  the word 'in' ('Keep this sync with').
- ternary-old.js pointed at tests/format/jsx/conditional-expression.js,
  which never existed at that path; the file lives one level deeper.

Signed-off-by: simpleqt <89645338+simpleqt@users.noreply.github.com>
Copilot AI lite review requested due to automatic review settings September 16, 2026 16:39

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@netlify

netlify Bot commented Sep 16, 2026

Copy link
Copy Markdown

Deploy Preview for prettier ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 75f818f
🔍 Latest deploy log https://app.netlify.com/projects/prettier/deploys/6aaac62f5ea3720007633b60
😎 Deploy Preview https://deploy-preview-20093--prettier.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@pkg-pr-new

pkg-pr-new Bot commented Sep 16, 2026

Copy link
Copy Markdown

Open in StackBlitz

yarn add https://pkg.pr.new/@prettier/plugin-hermes@20093.tgz
yarn add https://pkg.pr.new/@prettier/plugin-oxc@20093.tgz
yarn add https://pkg.pr.new/@prettier/plugin-yuku@20093.tgz
yarn add https://pkg.pr.new/prettier@20093.tgz

commit: 75f818f

@fisker
fisker merged commit 2ee9998 into prettier:main Sep 16, 2026
33 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants