fix warming when add and remove plugin.

This commit is contained in:
Hevin 2016-05-18 14:19:09 +08:00
parent 93989a7ad1
commit bce5b4df68

View File

@ -5,7 +5,7 @@ module.exports = function (context) {
fs = context.requireCordovaModule('fs'),
shell = context.requireCordovaModule('shelljs'),
projectRoot = context.opts.projectRoot,
ConfigParser = context.requireCordovaModule('cordova-lib/src/configparser/ConfigParser'),
ConfigParser = context.requireCordovaModule('cordova-common/src/configparser/ConfigParser'),
config = new ConfigParser(path.join(context.opts.projectRoot, "config.xml")),
packageName = config.android_packageName() || config.packageName();