File tree Expand file tree Collapse file tree 2 files changed +3
-7
lines changed
packages/host/src/node/cli Expand file tree Collapse file tree 2 files changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,6 @@ import {
1414import {
1515 determineModuleContext ,
1616 findNodeApiModulePathsByDependency ,
17- getAutolinkPath ,
1817 getLibraryName ,
1918 visualizeLibraryMap ,
2019 normalizeModulePath ,
@@ -36,10 +35,7 @@ export const program = new Command("react-native-node-api").addCommand(
3635 vendorHermes ,
3736) ;
3837
39- async function createLinker (
40- platform : PlatformName ,
41- fromPath : string ,
42- ) : Promise < ModuleLinker > {
38+ async function createLinker ( platform : PlatformName ) : Promise < ModuleLinker > {
4339 if ( platform === "android" ) {
4440 return linkAndroidDir ;
4541 } else if ( platform === "apple" ) {
@@ -100,7 +96,7 @@ program
10096 platform,
10197 fromPath : path . resolve ( pathArg ) ,
10298 naming : { packageName, pathSuffix } ,
103- linker : await createLinker ( platform , path . resolve ( pathArg ) ) ,
99+ linker : await createLinker ( platform ) ,
104100 } ) ,
105101 {
106102 text : `Linking ${ platformDisplayName } Node-API modules` ,
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ export async function readXcodeWorkspace(workspacePath: string) {
4545
4646export async function findXcodeWorkspace ( fromPath : string ) {
4747 // Check if the directory contains a Xcode workspace
48- const xcodeWorkspace = await fs . promises . glob ( path . join ( "*.xcworkspace" ) , {
48+ const xcodeWorkspace = fs . promises . glob ( path . join ( "*.xcworkspace" ) , {
4949 cwd : fromPath ,
5050 } ) ;
5151
You can’t perform that action at this time.
0 commit comments