This commit is contained in:
Christopher Jeffrey 2016-06-08 13:31:15 -07:00
parent 4b1f2e1db0
commit 3289a9388d
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD

View File

@ -256,11 +256,13 @@ Environment.prototype.set = function set(options) {
options.debugFile += '/debug.log'; options.debugFile += '/debug.log';
} }
this.prefix = options.prefix; this.prefix = normalize(options.prefix);
this.networkType = options.network; this.networkType = options.network;
this.db = options.db; this.db = options.db;
this.debugLogs = !!options.debug; this.debugLogs = !!options.debug;
this.debugFile = options.debugFile; this.debugFile = options.debugFile
? normalize(options.debugFile)
: null;
this.profile = options.profile; this.profile = options.profile;
this.useWorkers = !!options.useWorkers; this.useWorkers = !!options.useWorkers;
this.maxWorkers = options.maxWorkers; this.maxWorkers = options.maxWorkers;