From f4ee4d2ba4135bca8a6ef41826d5b3731ff5e660 Mon Sep 17 00:00:00 2001 From: Justin SB Date: Mon, 27 Oct 2014 12:03:23 -0700 Subject: [PATCH] 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. --- tools/commands-cordova.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/commands-cordova.js b/tools/commands-cordova.js index 53566a6506..6f56d61e82 100644 --- a/tools/commands-cordova.js +++ b/tools/commands-cordova.js @@ -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,