flatiron/nconf — Issue #20: save error, but saves ...
Author: outaTiME
Created: 2011-11-22 14:06:15+00:00
State: open

Hi,

Im using nconf for a while ... and today making some refactors in my jakefile i found error when nconf save data (file mode), take a look :

```javascript
var
nconf = require('nconf').use('file', { file: 'build.json' });
version = nconf.get('version'),
debug = nconf.get('debug'),
development = nconf.get('development');
//...
nconf.set('build', new Date().getTime());
//...
nconf.save(function (err) {
if (err) {
console.error(err.message); // nconf store system has no save() method ?!?!?
return;
}
});
```
the save method throws an exception like "nconf store system has no save() method" but updates the file ... im doing someting wrong or its an issue ??

thks guys !