Skip to content

Commit

Permalink
Fix: cordova 9 #2581 #2592
Browse files Browse the repository at this point in the history
  • Loading branch information
wf9a5m75 committed Apr 4, 2019
1 parent bee92b2 commit 058ae40
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cordova-plugin-googlemaps",
"version": "2.5.4-beta-20190320-1419",
"version": "2.5.4-beta-20190403-2250",
"description": "Google Maps native SDK for Android and iOS, and Google Maps JavaScript API v3 for browser.",
"cordova": {
"id": "cordova-plugin-googlemaps",
Expand Down
7 changes: 3 additions & 4 deletions src/ios/check_sdk_version.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,10 @@ module.exports = function (ctx) {

var PluginInfoProvider = ctx.requireCordovaModule('cordova-common').PluginInfoProvider;

var Q = require('q'),
path = require('path');
var path = require('path');

var projectRoot = ctx.opts.projectRoot;
return Q.Promise(function (resolve, reject) {
return (new Promise(function (resolve, reject) {

var pluginsDir = path.join(projectRoot, 'plugins');
var pluginInfoProvider = new PluginInfoProvider();
Expand Down Expand Up @@ -42,6 +41,6 @@ module.exports = function (ctx) {
} else {
resolve();
}
});
}));

};

0 comments on commit 058ae40

Please sign in to comment.