cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fil...@apache.org
Subject git commit: Reference err fix.
Date Mon, 17 Jun 2013 19:13:19 GMT
Updated Branches:
  refs/heads/master2 c77ec09ff -> 8380cc23a


Reference err fix.


Project: http://git-wip-us.apache.org/repos/asf/cordova-cli/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-cli/commit/8380cc23
Tree: http://git-wip-us.apache.org/repos/asf/cordova-cli/tree/8380cc23
Diff: http://git-wip-us.apache.org/repos/asf/cordova-cli/diff/8380cc23

Branch: refs/heads/master2
Commit: 8380cc23aecdc7ee428dd8b98a5de7f1568e4c60
Parents: c77ec09
Author: Fil Maj <maj.fil@gmail.com>
Authored: Mon Jun 17 12:13:12 2013 -0700
Committer: Fil Maj <maj.fil@gmail.com>
Committed: Mon Jun 17 12:13:12 2013 -0700

----------------------------------------------------------------------
 src/platform.js | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-cli/blob/8380cc23/src/platform.js
----------------------------------------------------------------------
diff --git a/src/platform.js b/src/platform.js
index 703f744..87ed632 100644
--- a/src/platform.js
+++ b/src/platform.js
@@ -246,7 +246,8 @@ function call_into_create(target, projectRoot, cfg, id, version, callback,
end)
                                 createOverrides(projectRoot, target);
                                 end(); //platform add is done by now.
                                 // Install all currently installed plugins into this new
platform.
-                                var plugins = cordova_util.findPlugins(path.join(projectRoot,
'plugins'));
+                                var plugins_dir = path.join(projectRoot, 'plugins');
+                                var plugins = cordova_util.findPlugins(plugins_dir);
                                 plugins && plugins.forEach(function(plugin) {
                                     events.emit('log', 'Installing plugin "' + plugin + '"
following successful platform add of ' + target);
                                     plugman.install(target, output, path.basename(plugin),
pluginsDir, { www_dir: parser.staging_dir() });


Mime
View raw message