Skip to content

Commit

Permalink
[FABN-969] Parse environment variables with
Browse files Browse the repository at this point in the history
nconf

Change-Id: I2f8b794f75d3a3ceb33229805b6aed726568d856
Signed-off-by: Liam Grace <liamgrace.896@gmail.com>
  • Loading branch information
liam-grace committed Nov 30, 2018
1 parent 289d45c commit e3b6d83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fabric-client/lib/Config.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const Config = class {
constructor() {
nconf.use('memory');
nconf.argv();
nconf.env();
nconf.env({parseValues: true});
nconf.use('mapenv', {type:'memory'});
this.mapSettings(nconf.stores.mapenv, process.env);
this._fileStores = [];
Expand Down

0 comments on commit e3b6d83

Please sign in to comment.