raphinesse commented on a change in pull request #880:
URL: https://github.com/apache/cordova-lib/pull/880#discussion_r707200461



##########
File path: src/cordova/restore-util.js
##########
@@ -108,7 +108,7 @@ function installPlatformsFromConfigXML (platforms, opts) {
 
     const platformInfo = platformIDs.map(plID => ({
         name: plID,
-        spec: specs[plID]
+        spec: specs[`cordova-${plID}`]

Review comment:
       The following should approximate the logic we use in `addHelper.js` to 
determine the platform spec:
   
   ```suggestion
           spec: specs[`cordova-${plID}`] || specs[plID]
   ```




-- 
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.

To unsubscribe, e-mail: [email protected]

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