File tree Expand file tree Collapse file tree
packages/cli-platform-apple/src/commands/runCommand Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -63,7 +63,9 @@ export default async function installApp({
6363 const targetBuildDir = buildSettings . TARGET_BUILD_DIR ;
6464 const infoPlistPath = buildSettings . INFOPLIST_PATH ;
6565
66- const plistPath = appPath ? _path ( ) . default . join ( appPath , "Info.plist" ) : _path ( ) . default . join ( targetBuildDir , infoPlistPath )
66+ const plistPath = appPath
67+ ? path . join ( appPath , 'Info.plist' )
68+ : path . join ( targetBuildDir , infoPlistPath ) ;
6769 if ( ! plistPath ) {
6870 throw new CLIError ( 'Failed to find Info.plist' ) ;
6971 }
@@ -87,11 +89,7 @@ export default async function installApp({
8789 const bundleID = child_process
8890 . execFileSync (
8991 '/usr/libexec/PlistBuddy' ,
90- [
91- '-c' ,
92- 'Print:CFBundleIdentifier' ,
93- plistPath ,
94- ] ,
92+ [ '-c' , 'Print:CFBundleIdentifier' , plistPath ] ,
9593 { encoding : 'utf8' } ,
9694 )
9795 . trim ( ) ;
You can’t perform that action at this time.
0 commit comments