Return-Path: X-Original-To: apmail-cordova-commits-archive@www.apache.org Delivered-To: apmail-cordova-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 91DF510EBD for ; Thu, 11 Jul 2013 20:29:08 +0000 (UTC) Received: (qmail 21465 invoked by uid 500); 11 Jul 2013 20:29:08 -0000 Delivered-To: apmail-cordova-commits-archive@cordova.apache.org Received: (qmail 21376 invoked by uid 500); 11 Jul 2013 20:29:08 -0000 Mailing-List: contact commits-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cordova.apache.org Delivered-To: mailing list commits@cordova.apache.org Received: (qmail 21342 invoked by uid 99); 11 Jul 2013 20:29:08 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Jul 2013 20:29:08 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 2BBC888FCE1; Thu, 11 Jul 2013 20:29:08 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: anis@apache.org To: commits@cordova.apache.org Date: Thu, 11 Jul 2013 20:29:10 -0000 Message-Id: In-Reply-To: <8770b97dcd1b4b7a8308170db0d85691@git.apache.org> References: <8770b97dcd1b4b7a8308170db0d85691@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [03/22] git commit: Should install plugin after fetching from url Should install plugin after fetching from url Project: http://git-wip-us.apache.org/repos/asf/cordova-plugman/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugman/commit/a9af62bd Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugman/tree/a9af62bd Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugman/diff/a9af62bd Branch: refs/heads/plugman-registry Commit: a9af62bd23707795ba7d5d0f1be4515526e11c0e Parents: 83cfd5c Author: Tim Kim Authored: Tue Jun 11 12:33:58 2013 -0700 Committer: Tim Kim Committed: Tue Jun 11 12:33:58 2013 -0700 ---------------------------------------------------------------------- src/fetch.js | 1 + 1 file changed, 1 insertion(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cordova-plugman/blob/a9af62bd/src/fetch.js ---------------------------------------------------------------------- diff --git a/src/fetch.js b/src/fetch.js index 68f5113..476d138 100644 --- a/src/fetch.js +++ b/src/fetch.js @@ -32,6 +32,7 @@ module.exports = function fetchPlugin(plugin_dir, plugins_dir, options, callback plugins.clonePluginGitRepo(plugin_dir, plugins_dir, options.subdir, options.git_ref, function(err, dir) { if (!err) { metadata.save_fetch_metadata(dir, data); + if (callback) callback(null, dir); } }); }