Skip to content

Commit 8a76cf8

Browse files
committed
Fix spelling
1 parent b252e11 commit 8a76cf8

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
@@ -181,17 +181,17 @@ export const program = new Command("react-native-node-api-cmake")
181181
);
182182
if (appleTriplets.length > 0) {
183183
const libraryPaths = appleTriplets.flatMap(({ tripletOutputPath }) => {
184-
const configSpecifcPath = path.join(
184+
const configSpecificPath = path.join(
185185
tripletOutputPath,
186186
globalContext.configuration
187187
);
188188
assert(
189-
existsSync(configSpecifcPath),
190-
`Expected a directory at ${configSpecifcPath}`
189+
existsSync(configSpecificPath),
190+
`Expected a directory at ${configSpecificPath}`
191191
);
192192
// Expect binary file(s), either .node or .dylib
193-
return readdirSync(configSpecifcPath).map((file) => {
194-
const filePath = path.join(configSpecifcPath, file);
193+
return readdirSync(configSpecificPath).map((file) => {
194+
const filePath = path.join(configSpecificPath, file);
195195
if (filePath.endsWith(".dylib")) {
196196
return filePath;
197197
} else if (file.endsWith(".node")) {

0 commit comments

Comments
 (0)