fix: Fix missing space (#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: https://github.com/facebook/react-native/pull/44311

Reviewed By: christophpurrer

Differential Revision: D56702036

Pulled By: rshest

fbshipit-source-id: e339a6ee8c265b2c6d27184e8e9941f3f02e3c85
This commit is contained in:
Marc Rousavy
2024-04-29 09:21:23 -07:00
committed by Facebook GitHub Bot
parent ab00a453a8
commit 8ce4bf1893
@@ -76,7 +76,8 @@ export function getEnforcing<T: TurboModule>(name: string): T {
'Verify that a module by this name is registered in the native binary.';
if (shouldReportDebugInfo()) {
message += 'Bridgeless mode: ' + (isBridgeless() ? 'true' : 'false') + '. ';
message +=
' Bridgeless mode: ' + (isBridgeless() ? 'true' : 'false') + '. ';
message +=
'TurboModule interop: ' +
(isTurboModuleInteropEnabled() ? 'true' : 'false') +