HarelM commented on a change in pull request #956:
URL: https://github.com/apache/cordova-ios/pull/956#discussion_r473953852



##########
File path: bin/templates/scripts/cordova/lib/build.js
##########
@@ -231,7 +236,12 @@ module.exports.run = buildOpts => {
             }
 
             if (buildOpts.provisioningProfile && bundleIdentifier) {
-                exportOptions.provisioningProfiles = { [bundleIdentifier]: 
String(buildOpts.provisioningProfile) };
+                if (typeof buildOpts.provisioningProfile === 'string') {
+                    exportOptions.provisioningProfiles = { [bundleIdentifier]: 
String(buildOpts.provisioningProfile) };
+                } else {
+                    console.log('Setting multiple provisioning profiles for 
signing');

Review comment:
       No problem, I'll check how other places do logging.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to