34 changed files with 62 additions and 65 deletions
@ -1,10 +1,10 @@ |
|||
/* |
|||
* default-argv.js: Test fixture for using optimist defaults with nconf. |
|||
* |
|||
* (C) 2011, Nodejitsu Inc. |
|||
* (C) 2011, Charlie Robbins and the Contributors. |
|||
* |
|||
*/ |
|||
|
|||
|
|||
var nconf = require('../../../lib/nconf').argv().env(); |
|||
|
|||
process.stdout.write(nconf.get('something')); |
@ -1,10 +1,10 @@ |
|||
/* |
|||
* nconf-env.js: Test fixture for using process.env defaults with nconf. |
|||
* |
|||
* (C) 2011, Nodejitsu Inc. |
|||
* (C) 2011, Charlie Robbins and the Contributors. |
|||
* |
|||
*/ |
|||
|
|||
|
|||
var nconf = require('../../../lib/nconf').env(); |
|||
|
|||
process.stdout.write(nconf.get('SOMETHING')); |
@ -1,11 +1,11 @@ |
|||
/* |
|||
* nconf-nested-env.js: Test fixture for env with nested keys. |
|||
* |
|||
* (C) 2012, Nodejitsu Inc. |
|||
* (C) 2012, Charlie Robbins and the Contributors. |
|||
* (C) 2012, Michael Hart |
|||
* |
|||
*/ |
|||
|
|||
|
|||
var nconf = require('../../../lib/nconf').env('_'); |
|||
|
|||
process.stdout.write(nconf.get('SOME:THING')); |
|||
|
Loading…
Reference in new issue