Skip to content

Commit

Permalink
Merge pull request #2586 from hobbydevs/multiple_maps
Browse files Browse the repository at this point in the history
updated requireCordovaModule to require for non-cordova modules (Supp…
  • Loading branch information
wf9a5m75 authored Mar 28, 2019
2 parents 45ef8ba + f151ffa commit bee92b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ios/check_sdk_version.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ module.exports = function (ctx) {

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

var Q = ctx.requireCordovaModule('q'),
path = ctx.requireCordovaModule('path');
var Q = require('q'),
path = require('path');

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

0 comments on commit bee92b2

Please sign in to comment.