Skip to content

Commit

Permalink
apacheGH-535: Run prepare with the correct ConfigParser
Browse files Browse the repository at this point in the history
  • Loading branch information
dpogue committed Mar 15, 2019
1 parent 1d59304 commit f4a186b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bin/templates/scripts/cordova/Api.js
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,8 @@ Api.prototype.getPlatformInfo = function () {
* CordovaError instance.
*/
Api.prototype.prepare = function (cordovaProject) {
cordovaProject.projectConfig = new ConfigParser(cordovaProject.locations.rootConfigXml || cordovaProject.projectConfig.path);

return require('./lib/prepare').prepare.call(this, cordovaProject);
};

Expand Down

0 comments on commit f4a186b

Please sign in to comment.