From 0c3b0722d5faf83bf8053382d5cfc48b7c3a2a2d Mon Sep 17 00:00:00 2001 From: okhiroyuki Date: Sat, 26 Dec 2020 11:46:32 +0900 Subject: [PATCH] fix require error --- patch.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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');