env check
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
This commit is contained in:
parent
90b42bccb2
commit
f34bd5df4f
|
@ -27,7 +27,7 @@ class CodeGenerator {
|
|||
this.storageConfig = options.storageConfig || {};
|
||||
this.communicationConfig = options.communicationConfig || {};
|
||||
this.namesystemConfig = options.namesystemConfig || {};
|
||||
this.env = options.env;
|
||||
this.env = options.env || '';
|
||||
// TODO: this should also be removed and use events instead
|
||||
this.contractsManager = options.contractsManager;
|
||||
this.plugins = options.plugins;
|
||||
|
|
Loading…
Reference in New Issue