Skip to content

Commit

Permalink
fix: Fix missing space (#44311)
Browse files Browse the repository at this point in the history
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: #44311

Reviewed By: christophpurrer

Differential Revision: D56702036

Pulled By: rshest

fbshipit-source-id: e339a6ee8c265b2c6d27184e8e9941f3f02e3c85
  • Loading branch information
mrousavy authored and facebook-github-bot committed Apr 29, 2024
1 parent ab00a45 commit 8ce4bf1
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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') +
Expand Down

0 comments on commit 8ce4bf1

Please sign in to comment.