We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac9594e commit a20dda4Copy full SHA for a20dda4
packages/react-native-node-api-modules/src/node/prebuilds/android.ts
@@ -44,8 +44,7 @@ export async function createAndroidLibsDirectory({
44
// Delete and recreate any existing output directory
45
await fs.promises.rm(outputPath, { recursive: true, force: true });
46
await fs.promises.mkdir(outputPath, { recursive: true });
47
- for (const [triplet] of Object.entries(libraryPathByTriplet)) {
48
- const libraryPath = libraryPathByTriplet[triplet as AndroidTriplet];
+ for (const [triplet, libraryPath] of Object.entries(libraryPathByTriplet)) {
49
assert(
50
fs.existsSync(libraryPath),
51
`Library not found: ${libraryPath} for triplet ${triplet}`
0 commit comments