diff --git a/patch.js b/patch.js index e87538f..f9cc4ef 100644 --- a/patch.js +++ b/patch.js @@ -1,8 +1,8 @@ #!/usr/bin/env node module.exports = function (context) { - var fs = context.requireCordovaModule('fs'), - path = context.requireCordovaModule('path'), + var fs = require('fs'), + path = require('path'), platformRoot = path.join(context.opts.projectRoot, 'platforms/android'), manifestFile = path.join(platformRoot, 'AndroidManifest.xml');