Fix typos: "boostrap" -> "bootstrap" and "informations" -> "information" (#55849)

Summary:
This PR fixes simple typos found in error messages:

- **apple.js**: Fixed "boostrap" -> "bootstrap" in error messages (lines 67, 169)
- **CppHelpers.js**: Fixed "informations" -> "information" in error messages (lines 75, 87, 101)

Note: "information" is an uncountable noun in English and should not be pluralized.

Changelog:
[Internal] [Changed] -

Pull Request resolved: https://github.com/facebook/react-native/pull/55849

Test Plan: These are typo fixes in error message strings. No code behavior changes.

Reviewed By: cipolleschi

Differential Revision: D94905006

Pulled By: cortinico

fbshipit-source-id: a6a7185cf3aeb8739212a06115100ede097b0b4c
This commit is contained in:
hobostay authored and meta-codesync[bot] committed 2026-03-03 16:45:12 -08:00
1 parent 50ae4c8838
commit 41b009f989
2 files changed
+4 -4

No files matched your search

+2 -2
View File
@@ -64,7 +64,7 @@ function checkPodfileInSyncWithManifest(
);
}
} catch (e) {
throw new Error('Please run: yarn run boostrap ios: ' + e.message);
throw new Error('Please run: yarn run bootstrap ios: ' + e.message);
}
}
@@ -166,7 +166,7 @@ export const tasks = {
fs.constants.F_OK | fs.constants.R_OK,
);
} catch (e) {
throw new Error('Please run: yarn run boostrap ios: ' + e.message);
throw new Error('Please run: yarn run bootstrap ios: ' + e.message);
}
}
checkPodfileInSyncWithManifest(
@@ -72,7 +72,7 @@ function getCppArrayTypeForAnnotation(
case 'object':
if (!structParts) {
throw new Error(
`Trying to generate the event emitter for an Array of ${typeElement.type} without informations to generate the generic type`,
`Trying to generate the event emitter for an Array of ${typeElement.type} without information to generate the generic type`,
);
}
return `std::vector<${generateEventStructName(structParts)}>`;
@@ -84,7 +84,7 @@ function getCppArrayTypeForAnnotation(
) {
if (!structParts) {
throw new Error(
`Trying to generate the event emitter for an Array of ${typeElement.type} without informations to generate the generic type`,
`Trying to generate the event emitter for an Array of ${typeElement.type} without information to generate the generic type`,
);
}
return `std::vector<${generateEventStructName(structParts)}>`;