Skip to content

Fix typos in manifest error message and CSS inspector#384

Open
durvesh1992 wants to merge 1 commit into
facebookincubator:mainfrom
durvesh1992:fix/typos-manifest-and-css-inspector
Open

Fix typos in manifest error message and CSS inspector#384
durvesh1992 wants to merge 1 commit into
facebookincubator:mainfrom
durvesh1992:fix/typos-manifest-and-css-inspector

Conversation

@durvesh1992

Copy link
Copy Markdown

Summary

Small typo/readability cleanup:

  • User-facing error message: getManifestVersionAndTypeFromNode threw Missing manifest data attribute or invalid version/typeon attributetypeon should read type on.
  • Misspelled function name: scanForCSSNeedingManualInspsectionscanForCSSNeedingManualInspection. It is internal (defined in manualCSSInspector.ts, imported and called once in content.ts); all three sites are updated.
  • Comment: Link style tags are checked agains the manifestagainst.

No behavior change.

Test plan

node --experimental-vm-modules ... jest --watchman=false: 10 suites, 92 tests pass, no regressions. Prettier clean.

- 'invalid version/typeon attribute' -> 'version/type on attribute' in
  the manifest validation error.
- Rename scanForCSSNeedingManualInspsection -> ...Inspection (internal,
  all three call sites updated).
- 'checked agains the manifest' -> 'against' comment fix.
@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
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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant