Skip to content

Commit 41b009f

Browse files
hobostaymeta-codesync[bot]
authored andcommitted
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: #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
1 parent 50ae4c8 commit 41b009f

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

packages/core-cli-utils/src/private/apple.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ function checkPodfileInSyncWithManifest(
6464
);
6565
}
6666
} catch (e) {
67-
throw new Error('Please run: yarn run boostrap ios: ' + e.message);
67+
throw new Error('Please run: yarn run bootstrap ios: ' + e.message);
6868
}
6969
}
7070

@@ -166,7 +166,7 @@ export const tasks = {
166166
fs.constants.F_OK | fs.constants.R_OK,
167167
);
168168
} catch (e) {
169-
throw new Error('Please run: yarn run boostrap ios: ' + e.message);
169+
throw new Error('Please run: yarn run bootstrap ios: ' + e.message);
170170
}
171171
}
172172
checkPodfileInSyncWithManifest(

packages/react-native-codegen/src/generators/components/CppHelpers.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ function getCppArrayTypeForAnnotation(
7272
case 'object':
7373
if (!structParts) {
7474
throw new Error(
75-
`Trying to generate the event emitter for an Array of ${typeElement.type} without informations to generate the generic type`,
75+
`Trying to generate the event emitter for an Array of ${typeElement.type} without information to generate the generic type`,
7676
);
7777
}
7878
return `std::vector<${generateEventStructName(structParts)}>`;
@@ -84,7 +84,7 @@ function getCppArrayTypeForAnnotation(
8484
) {
8585
if (!structParts) {
8686
throw new Error(
87-
`Trying to generate the event emitter for an Array of ${typeElement.type} without informations to generate the generic type`,
87+
`Trying to generate the event emitter for an Array of ${typeElement.type} without information to generate the generic type`,
8888
);
8989
}
9090
return `std::vector<${generateEventStructName(structParts)}>`;

0 commit comments

Comments
 (0)