Updated Branches: refs/heads/master 7fd2f17ab -> df8b925d3
fixing settings in registry Project: http://git-wip-us.apache.org/repos/asf/cordova-plugman/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugman/commit/df8b925d Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugman/tree/df8b925d Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugman/diff/df8b925d Branch: refs/heads/master Commit: df8b925d3629af96df23f98b04b90eaf73036ab4 Parents: 7fd2f17 Author: Anis Kadri <a...@apache.org> Authored: Sun Jul 28 18:05:30 2013 -0700 Committer: Anis Kadri <a...@apache.org> Committed: Sun Jul 28 18:05:30 2013 -0700 ---------------------------------------------------------------------- package.json | 2 +- src/registry/registry.js | 17 +++++++++-------- 2 files changed, 10 insertions(+), 9 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cordova-plugman/blob/df8b925d/package.json ---------------------------------------------------------------------- diff --git a/package.json b/package.json index 9318680..8e343ab 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "author": "Andrew Lunny <alu...@gmail.com>", "name": "plugman", "description": "install/uninstall Cordova plugins", - "version": "0.9.21", + "version": "0.9.22", "repository": { "type": "git", "url": "git://git-wip-us.apache.org/repos/asf/cordova-plugman.git" http://git-wip-us.apache.org/repos/asf/cordova-plugman/blob/df8b925d/src/registry/registry.js ---------------------------------------------------------------------- diff --git a/src/registry/registry.js b/src/registry/registry.js index 5a954b3..824ed4b 100644 --- a/src/registry/registry.js +++ b/src/registry/registry.js @@ -193,13 +193,14 @@ function initSettings(cb) { fs.mkdirSync(plugmanCacheDir); } - settings = rc('plugman', { - cache: plugmanCacheDir, - force: true, - registry: 'http://registry.cordova.io', - logstream: fs.createWriteStream(path.resolve(plugmanConfigDir, 'plugman.log')), - userconfig: path.resolve(plugmanConfigDir, 'config') - }); + settings = + module.exports.settings = + rc('plugman', { + cache: plugmanCacheDir, + force: true, + registry: 'http://registry.cordova.io', + logstream: fs.createWriteStream(path.resolve(plugmanConfigDir, 'plugman.log')), + userconfig: path.resolve(plugmanConfigDir, 'config') + }); cb(null, settings); - }