minor.
This commit is contained in:
parent
4b1f2e1db0
commit
3289a9388d
@ -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;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user