Skip to content

Commit

Permalink
Fix typo of TurobModule to TurboModule (#30723)
Browse files Browse the repository at this point in the history
Summary:
Fix typo in a code comment of babel codegen: TurobModule -> TurboModule
This was discovered in the PR [https://github.com/facebook/react-native/issues/6832](https://github.com/microsoft/react-native-windows/pull/6832) when [microsoft/react-native-windows](https://github.com/microsoft/react-native-windows) ingested latest react-native bits..

## Changelog

<!-- Help reviewers and the release process by writing your own changelog entry. For an example, see:
https://github.com/facebook/react-native/wiki/Changelog
-->

[Internal] [Fixed] - Fix a typo in a code comment.

Pull Request resolved: #30723

Test Plan: None, change is in a comment and most of the scripts like lint-ci don't work on windows.

Reviewed By: shergin

Differential Revision: D25884872

Pulled By: sammy-SC

fbshipit-source-id: 49dfc25d220aa9bc4f7de61c664837b193ae25e5
  • Loading branch information
dannyvv authored and facebook-github-bot committed Jan 13, 2021
1 parent 6fd6841 commit fc1ddb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/babel-plugin-codegen/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ module.exports = function({parse, types: t}) {
* call.
*/

// Disabling TurobModule processing for react-native-web NPM module
// Disabling TurboModule processing for react-native-web NPM module
// Workaround for T80868008, can remove after fixed
const enableTurboModuleJSCodegen =
this.filename.indexOf('/node_modules/react-native-web') === -1;
Expand Down

0 comments on commit fc1ddb6

Please sign in to comment.