We don't need to escape cordova plugin --variable args

Cordova doesn't remove the quotes, and it doesn't expect them.

This works for both the issues that were raised.
This commit is contained in:
Justin SB
2014-10-27 12:03:23 -07:00
committed by Emily Stark
parent 470fe307e5
commit f4ee4d2ba4

View File

@@ -466,7 +466,7 @@ var installPlugin = function (cordovaPath, name, version, conf) {
_.each(conf || {}, function (value, variable) {
additionalArgs.push('--variable');
additionalArgs.push(variable + '=\'' + value + '\'');
additionalArgs.push(variable + '=' + value);
});
var execRes = execFileSyncOrThrow(localCordova,