File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
packages/cli-platform-apple/src/config Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -52,12 +52,12 @@ export default function findPodfilePath(
5252 . sort ( ( project ) => ( path . dirname ( project ) === platformName ? - 1 : 1 ) ) ;
5353
5454 const supportedPlatformsArray : string [ ] = Object . values ( supportedPlatforms ) ;
55- const containsOnlySupportedPodfiles = podfiles . every ( ( podfile ) =>
56- supportedPlatformsArray . includes ( podfile . split ( '/' ) [ 0 ] ) ,
55+ const containsUnsupportedPodfiles = podfiles . every (
56+ ( podfile ) => ! supportedPlatformsArray . includes ( podfile . split ( '/' ) [ 0 ] ) ,
5757 ) ;
5858
5959 if ( podfiles . length > 0 ) {
60- if ( podfiles . length > 1 && ! containsOnlySupportedPodfiles ) {
60+ if ( podfiles . length > 1 && containsUnsupportedPodfiles ) {
6161 logger . warn (
6262 inlineString ( `
6363 Multiple Podfiles were found: ${ podfiles } . Choosing ${ podfiles [ 0 ] } automatically.
You can’t perform that action at this time.
0 commit comments