Skip to content

Commit

Permalink
updated requireCordovaModule to require for non-cordova modules (Supp…
Browse files Browse the repository at this point in the history
…ort Cordova > 9.0.0)
  • Loading branch information
Herbert Hart committed Mar 25, 2019
1 parent 45ef8ba commit f151ffa
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 f151ffa

Please sign in to comment.