File tree 1 file changed +5
-8
lines changed
1 file changed +5
-8
lines changed Original file line number Diff line number Diff line change 1
1
module . exports = function ( context ) {
2
-
3
- var path = context . requireCordovaModule ( 'path' ) ,
4
- fs = context . requireCordovaModule ( 'fs' ) ,
5
- crypto = context . requireCordovaModule ( 'crypto' ) ,
6
- Q = context . requireCordovaModule ( 'q' ) ,
2
+ var path = require ( 'path' ) ,
3
+ fs = require ( 'fs' ) ,
4
+ crypto = require ( 'crypto' ) ,
5
+ Q = require ( 'q' ) ,
7
6
cordova_util = context . requireCordovaModule ( 'cordova-lib/src/cordova/util' ) ,
8
7
platforms = context . requireCordovaModule ( 'cordova-lib/src/platforms/platforms' ) ,
9
- Parser = context . requireCordovaModule ( 'cordova-lib/src/cordova/metadata/parser' ) ,
10
- ParserHelper = context . requireCordovaModule ( 'cordova-lib/src/cordova/metadata/parserhelper/ParserHelper' ) ,
11
8
ConfigParser = context . requireCordovaModule ( 'cordova-common' ) . ConfigParser ;
12
9
13
10
var deferral = new Q . defer ( ) ;
@@ -166,4 +163,4 @@ module.exports = function(context) {
166
163
167
164
fs . writeFileSync ( sourceFile , content , 'utf-8' ) ;
168
165
}
169
- }
166
+ }
You can’t perform that action at this time.
0 commit comments