dpogue commented on a change in pull request #860:
URL: https://github.com/apache/cordova-lib/pull/860#discussion_r513174314



##########
File path: src/cordova/util.js
##########
@@ -301,14 +301,23 @@ function isDirectory (dir) {
 
 // Returns the API of the platform contained in `dir`.
 // Potential errors : module isn't found, can't load or doesn't implement the 
expected interface.
-function getPlatformApiFunction (dir) {
+function getPlatformApiFunction (dir, platform) {

Review comment:
       Apparently we were already passing in the platform name as a second 
parameter, but not using it 🤷🏼‍♂️ 




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