Skip to content

docs, comments: fix typos and a broken Resolution.md doc anchor#1755

Open
durvesh1992 wants to merge 1 commit into
react:mainfrom
durvesh1992:fix/comment-doc-typos
Open

docs, comments: fix typos and a broken Resolution.md doc anchor#1755
durvesh1992 wants to merge 1 commit into
react:mainfrom
durvesh1992:fix/comment-doc-typos

Conversation

@durvesh1992

Copy link
Copy Markdown

Summary

Small documentation/comment fixes: one broken doc anchor plus a batch of typo corrections in comments and test names. No runtime behavior changes.

Broken doc link

docs/Resolution.md linked to ./Configuration.md#resolvereqeuest, but the heading in Configuration.md is resolveRequest, so the anchor resolves to #resolverequest. The old link was dead.

Changes

File Before After
docs/Resolution.md #resolvereqeuest (dead anchor) #resolverequest
docs/Resolution.md "A alternative resolver function" "An alternative resolver function"
packages/metro-resolver/src/PackageResolve.js "A path begining with '/'" "A path beginning with '/'"
packages/metro-runtime/.../MetroFastRefreshMockRuntime.js "Fast Refresh has occured" "Fast Refresh has occurred"
packages/metro-file-map/src/watchers/NativeWatcher.js "wont' receive events" "won't receive events"
packages/metro-file-map/src/watchers/NativeWatcher.js "they indiciate a change" "they indicate a change"
packages/buck-worker-tool/.../worker-test.js "command finishes succesfully" (test name) "command finishes successfully"
packages/metro-config/.../exclusionList-test.js "simulate ... enviornment" (describe names) "simulate ... environment"
packages/metro-config/.../exclusionList-test.js setPathSeperator (local helper) setPathSeparator (matches existing originalSeparator)

Test plan

Comment/doc/test-name only. setPathSeperator is a function local to exclusionList-test.js; all 5 references were renamed together. No production code paths affected.

- docs/Resolution.md: fix broken anchor #resolvereqeuest -> #resolverequest
  (the linked heading in Configuration.md is "resolveRequest"), and
  "A alternative" -> "An alternative".
- Fix comment/test-description typos: occured -> occurred, begining ->
  beginning, succesfully -> successfully, wont' -> won't, indiciate ->
  indicate, enviornment -> environment.
- exclusionList-test.js: rename local helper setPathSeperator ->
  setPathSeparator (Seperator -> Separator), matching the existing
  originalSeparator variable.

All comment/doc/test-name only; no runtime behavior changes.
@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jun 29, 2026
@facebook-github-tools facebook-github-tools Bot added the Shared with Meta Applied via automation to indicate that an Issue or Pull Request has been shared with the team. label Jun 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Shared with Meta Applied via automation to indicate that an Issue or Pull Request has been shared with the team.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant