Skip to content

Commit c7a21a5

Browse files
committed
Cleaning up
1 parent bb98d08 commit c7a21a5

File tree

3 files changed

+2
-5
lines changed

3 files changed

+2
-5
lines changed

packages/host/src/node/cli/android.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,9 @@ const ANDROID_ARCHITECTURES = [
1919
export async function linkAndroidDir({
2020
modulePath,
2121
naming,
22-
platform,
2322
}: LinkModuleOptions): Promise<LinkModuleResult> {
2423
const libraryName = getLibraryName(modulePath, naming);
25-
const outputPath = getLinkedModuleOutputPath(platform, modulePath, naming);
24+
const outputPath = getLinkedModuleOutputPath("android", modulePath, naming);
2625

2726
await fs.promises.rm(outputPath, { recursive: true, force: true });
2827
await fs.promises.cp(modulePath, outputPath, { recursive: true });

packages/host/src/node/cli/apple.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -458,7 +458,6 @@ export function determineFrameworkSlice(): {
458458
}
459459

460460
export async function linkXcframework({
461-
platform,
462461
modulePath,
463462
naming,
464463
outputPath: outputParentPath,

packages/host/src/node/cli/link-modules.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export type LinkModulesOptions = {
3030

3131
export type LinkModuleOptions = Omit<
3232
LinkModulesOptions,
33-
"fromPath" | "linker"
33+
"fromPath" | "linker" | "platform"
3434
> & {
3535
modulePath: string;
3636
};
@@ -95,7 +95,6 @@ export async function linkModules({
9595
return await linker({
9696
modulePath: originalPath,
9797
naming,
98-
platform,
9998
});
10099
} catch (error) {
101100
if (error instanceof SpawnFailure) {

0 commit comments

Comments
 (0)