Permalink
Browse files

[fix] Update old references to `nconf` to be `config`

  • Loading branch information...
1 parent e26c40c commit 549cf16f78e09bc16a95933273543b559b7f0390 @indexzero indexzero committed Jun 4, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/jitsu/config.js
View
@@ -83,12 +83,12 @@ var defaults = {
Object.defineProperty(defaults, 'remoteUri', {
get: function () {
- var port = nconf.overrides.port || nconf.get('port') || this.port || '';
+ var port = optimist.argv.port || config.get('port') || this.port || '';
if (port) {
port = ':' + port;
}
- return [this.protocol, '://', (nconf.overrides.remoteHost || nconf.get('remoteHost') || nconf.defaults.remoteHost), port].join('');
+ return [this.protocol, '://', (optimist.argv.remoteHost || config.get('remoteHost') || defaults.remoteHost), port].join('');
}
});

0 comments on commit 549cf16

Please sign in to comment.