Skip to content

Commit 5459a42

Browse files
committed
Fix spelling
1 parent 582a1a0 commit 5459a42

File tree

1 file changed

+5
-5
lines changed
  • packages/react-native-node-api-cmake/src

1 file changed

+5
-5
lines changed

packages/react-native-node-api-cmake/src/cli.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -182,17 +182,17 @@ export const program = new Command("react-native-node-api-cmake")
182182
);
183183
if (appleTriplets.length > 0) {
184184
const libraryPaths = appleTriplets.flatMap(({ tripletOutputPath }) => {
185-
const configSpecifcPath = path.join(
185+
const configSpecificPath = path.join(
186186
tripletOutputPath,
187187
globalContext.configuration
188188
);
189189
assert(
190-
existsSync(configSpecifcPath),
191-
`Expected a directory at ${configSpecifcPath}`
190+
existsSync(configSpecificPath),
191+
`Expected a directory at ${configSpecificPath}`
192192
);
193193
// Expect binary file(s), either .node or .dylib
194-
return readdirSync(configSpecifcPath).map((file) => {
195-
const filePath = path.join(configSpecifcPath, file);
194+
return readdirSync(configSpecificPath).map((file) => {
195+
const filePath = path.join(configSpecificPath, file);
196196
if (filePath.endsWith(".dylib")) {
197197
return filePath;
198198
} else if (file.endsWith(".node")) {

0 commit comments

Comments
 (0)