You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ma...@apache.org on 2013/10/15 20:04:40 UTC

git commit: CB-5065 remove breaking parameter

Updated Branches:
  refs/heads/master 6bcbe6841 -> 8ef210879


CB-5065 remove breaking parameter

Get the "cordova plugin add https://github.com/apache/cordova-plugin-console.git#r0.2.0" format working again.


Project: http://git-wip-us.apache.org/repos/asf/cordova-plugman/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugman/commit/8ef21087
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugman/tree/8ef21087
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugman/diff/8ef21087

Branch: refs/heads/master
Commit: 8ef2108794a0de6ed93237ce2fb438995bed8490
Parents: 6bcbe68
Author: Marcel Kinard <cm...@gmail.com>
Authored: Tue Oct 15 14:00:16 2013 -0400
Committer: Marcel Kinard <cm...@gmail.com>
Committed: Tue Oct 15 14:00:16 2013 -0400

----------------------------------------------------------------------
 src/util/plugins.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugman/blob/8ef21087/src/util/plugins.js
----------------------------------------------------------------------
diff --git a/src/util/plugins.js b/src/util/plugins.js
index 170d7b0..07c9994 100644
--- a/src/util/plugins.js
+++ b/src/util/plugins.js
@@ -55,7 +55,7 @@ module.exports = {
             require('../../plugman').emit('verbose', 'Plugin "' + plugin_git_url + '" fetched.');
             // Check out the specified revision, if provided.
             if (git_ref) {
-                var cmd = util.format('git checkout "%s"', tmp_dir, git_ref);
+                var cmd = util.format('git checkout "%s"', git_ref);
                 var d2 = Q.defer();
                 child_process.exec(cmd, { cwd: tmp_dir }, function(err, stdout, stderr) {
                     if (err) d2.reject(err);