Skip to content

Commit 8ce4bf1

Browse files
mrousavyfacebook-github-bot
authored andcommitted
fix: Fix missing space (facebook#44311)
Summary: Just a minor fix to fix a missing space in the debug message. Fixes a missing space in the message ``` Invariant Violation: TurboModuleRegistry.getEnforcing(...): 'MmkvPlatformContext' could not be found. Verify that a module by this name is registered in the native binary.Bridgeless mode: false. TurboModule interop: false. Modules loaded: {"NativeModules":["PlatformConstants","LogBox","Timing","AppState","SourceCode","BlobModule","WebSocketModule","SettingsManager","DevSettings","RedBox","Networking","Appearance","DevLoadingView","UIManager","DeviceInfo","ImageLoader","LinkingManager"],"TurboModules":[],"NotFound":["NativePerformanceCxx","NativePerformanceObserverCxx","BugReporting","HeadlessJsTaskSupport","SoundManager","IntentAndroid","MmkvPlatformContext","MmkvCxx"]} ``` ## Changelog: <!-- Help reviewers and the release process by writing your own changelog entry. Pick one each for the category and type tags: [ANDROID|GENERAL|IOS|INTERNAL] [BREAKING|ADDED|CHANGED|DEPRECATED|REMOVED|FIXED|SECURITY] - Message For more details, see: https://reactnative.dev/contributing/changelogs-in-pull-requests --> [INTERNAL] [FIXED] - Fixed missing space in TurboModule.getEnforcing error message Pull Request resolved: facebook#44311 Reviewed By: christophpurrer Differential Revision: D56702036 Pulled By: rshest fbshipit-source-id: e339a6ee8c265b2c6d27184e8e9941f3f02e3c85
1 parent ab00a45 commit 8ce4bf1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/react-native/Libraries/TurboModule/TurboModuleRegistry.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,8 @@ export function getEnforcing<T: TurboModule>(name: string): T {
7676
'Verify that a module by this name is registered in the native binary.';
7777

7878
if (shouldReportDebugInfo()) {
79-
message += 'Bridgeless mode: ' + (isBridgeless() ? 'true' : 'false') + '. ';
79+
message +=
80+
' Bridgeless mode: ' + (isBridgeless() ? 'true' : 'false') + '. ';
8081
message +=
8182
'TurboModule interop: ' +
8283
(isTurboModuleInteropEnabled() ? 'true' : 'false') +

0 commit comments

Comments
 (0)